LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: Lord on March 07, 2005, 15:00:23

Title: Requirements for launch java application created with lwjgl
Post by: Lord on March 07, 2005, 15:00:23
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. :?
Title: Requirements for launch java application created with lwjgl
Post by: Chman on March 07, 2005, 18:49:48
Yes they'll need them, and the JRE too :)

Chman
Title: Requirements for launch java application created with lwjgl
Post by: CaptainJester on March 08, 2005, 03:27:20
You will have to distribute the libraries with your application, because you cannot assume that they will already have them.
Title: Requirements for launch java application created with lwjgl
Post by: Lord on March 09, 2005, 12:15:36
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?
Title: Requirements for launch java application created with lwjgl
Post by: CaptainJester on March 09, 2005, 12:26:18
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 (http://www.izforge.com/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.