Downloading and installing JOGL: Difference between revisions
(Clarified Unzipping Files) |
No edit summary |
||
Line 1: | Line 1: | ||
To manually install JOGL, all you have to do is download the | 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 same directory of your choice. No installer is necessary. | containing JARs and native libraries for your platform, and extract them in the same directory of your choice. No installer is necessary. | ||
Revision as of 22:53, 2 February 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 same 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.
Downloading a released version
JogAmp follows it's release scheme, describing the following resource locations to download the platform ZIP archives:
You'll need to download your platform's ZIP archive for each desired module, ie gluegen, jogl, jocl, etc.
- gluegen-2.0-b8-20101213-linux-amd64.zip
- joal-2.0-20101213-linux-amd64.zip
- jogl-2.0-b11-20101213-linux-amd64.zip
- jocl-0.9-b1-20101213-linux-amd64.zip
The platform and version tags are explained in the versioning chapter.
You may also extract the API documentation:
- gluegen-javadoc.zip
- joal-javadoc.zip
- jogl-javadoc.zip
- jocl-javadoc.zip
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 a build as one big file. 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/job/jogl/ 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 it's module name, eg:
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 (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 https://jogamp.org/jogl/doc/deployment/JOGL-DEPLOYMENT.html for more information.