Requirements for launch java application created with lwjgl

Started by Lord, March 07, 2005, 15:00:23

Previous topic - Next topic

Lord

Does client need to have installed lwjgl package to be able launch java application created with lwjgl?
I am not experienced java programmer.
I noticed some native libraries in lwjgl.

Please help. :?

Chman


CaptainJester

You will have to distribute the libraries with your application, because you cannot assume that they will already have them.
The problems of this world cannot possibly be solved by skeptics or cynics whose horizons are limited by the obvious realities.  We need men and women who can dream of things that never were. - John Fitzgerald Kennedy(35th US President)
8)

Lord

Well.
But native parts of lwjgl are different accross platforms(windows,mac,unix).
Am I correct I will have to distribute my java application with different lwjgl for different platforms even it is written in crossplatform java?

CaptainJester

That depends on how you are distributing.  If you are using CDs, then you would just include all the libraries and a single cross-platform installer, like IzPack.  The installer will detect what platform it is on and install the appropriate library.

If you are using WebStart, then it is the same thing.  You have multiple jar files and a single jnlp file that the client clicks on.  Then everything is downloaded based on platform(and only the stuff required for that platform).

The only problem is really to the developer, because you have to do all this configuration to make it easy on the end user.  But it is a far cry better to be able to use OpenGL directly this way than inderectly through Java2D.
The problems of this world cannot possibly be solved by skeptics or cynics whose horizons are limited by the obvious realities.  We need men and women who can dream of things that never were. - John Fitzgerald Kennedy(35th US President)
8)