Downloading and installing JOGL

From JogampWiki
Revision as of 23:25, 2 February 2011 by Sgothel (talk | contribs) (Fixed release installation docs to use platform ZIP archives)
Jump to navigation Jump to search

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 or unjar all the files you downloaded, then pull out gluegen-rt.jar, jogl.all.jar, nativewindow.all.jar newt.all.jar, and all the native library files (the .dll, .so, or .jnilib files). These files form your JOGL installation, which you can put wherever you want.

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.