Downloading and installing JOGL: Difference between revisions

From JogampWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 54: Line 54:
Now you may copy the required JARs out of each <tt>jar</tt> folder and the native libraries out of each <tt>lib</tt> folder.
Now you may copy the required JARs out of each <tt>jar</tt> folder and the native libraries out of each <tt>lib</tt> folder.


This installation contains all of JOGL. If you want to trim it down, see [{{SERVER}/jogl/doc/deployment/JOGL-DEPLOYMENT.html JOGL Deployment] for more information.
This installation contains all of JOGL. If you want to trim it down, see [{{SERVER}}/jogl/doc/deployment/JOGL-DEPLOYMENT.html JOGL Deployment] for more information.

Revision as of 16:16, 20 September 2011

To manually install JOGL, all you have to do is download the platform ZIP archives, containing JARs and native libraries for your platform, and extract them in the directory of your choice. No installer is necessary.

You have a choice of versions to download. The latest stable version is probably safer, but lags behind in features. The latest automatic build contains all checked-in code, but may be failing some tests.

JOGL Deployment describes the content of the 7z archive files.

Downloading a released version

JogAmp follows a release scheme, which describes the following locations to download the platform ZIP archives from:

You'll need to download your platform's 7z archive.

Downloading the latest automatic build

Every time changes to the JOGL code base are checked in, it starts an automatic build and test process. The resulting builds are placed at https://jogamp.org/deployment/autobuilds/master/, where you can download the autobuild files. Just pick the most recent jogl-b* directory, then download the right zip file for your platform from it. For 64-bit Windows the file will be jogl-2.0-bvvv-2010mmdd-windows-amd64.zip.

Note that these automatic builds may not have passed all the regression tests. You can check the build server at https://jogamp.org/chuck/ to see the test results for the automatic builds and make sure you're not downloading a broken build.

Unzipping the files

Unzip all downloaded platform ZIP archives (and the API doc's ZIP files) in a common folder. Using a common folder will leave the API documentation intact and resembles the original directory layout.

A common methodology is to unzip the platform ZIP archive and rename the new folder by its module name, for example:

unzip gluegen-2.0-b261-20110202-linux-amd64.zip
mv gluegen-2.0-b261-20110202-linux-amd64 gluegen

unzip jogl-2.0-b280-20110202-linux-amd64.zip
mv jogl-2.0-b280-20110202-linux-amd64 jogl

unzip gluegen-javadoc.zip
unzip jogl-javadoc.zip

Now you have the following structure (the same for all modules):

gluegen/
gluegen/artifact.properties
gluegen/javadoc/
gluegen/jar/
gluegen/lib/
gluegen/jnlp-files/
gluegen/LICENSE

Now you may copy the required JARs out of each jar folder and the native libraries out of each lib folder.

This installation contains all of JOGL. If you want to trim it down, see JOGL Deployment for more information.