Downloading and installing JOGL: Difference between revisions

From JogampWiki
Jump to navigation Jump to search
(Fixed release installation docs to use platform ZIP archives)
(Clarified Unzipping Files)
Line 37: Line 37:
= Unzipping the files =
= Unzipping the files =


Unzip or unjar all the files you downloaded, then pull out <tt>gluegen-rt.jar</tt>, <tt>jogl.all.jar</tt>, <tt>nativewindow.all.jar</tt> <tt>newt.all.jar</tt>, and all the native library files (the <tt>.dll</tt>, <tt>.so</tt>, or <tt>.jnilib</tt> files). These files form your JOGL installation, which you can put wherever you want.
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:
<pre>
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
</pre>
 
Now you have the following structure (same for all modules):
<pre>
gluegen/
gluegen/artifact.properties
gluegen/javadoc/
gluegen/jar/
gluegen/lib/
gluegen/jnlp-files/
gluegen/LICENSE
</pre>
 
Now you may copy the required JARs out of each <i>jar</i> folder and the native libraries out of each <i>lib</i> 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.
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.

Revision as of 22:41, 2 February 2011

To manually install JOGL, all you have to do is download the your 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.