Downloading and installing JOGL

From JogampWiki
Revision as of 20:53, 17 January 2011 by Wwalker (talk | contribs)
Jump to navigation Jump to search

To install JOGL, all you have to do is download the JARs and native libraries for your platform and put them in a directory of your choosing. 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 the latest stable version

You can download the files for the latest stable version at https://jogamp.org/deployment/webstart/. You'll need to download eight things, shown below. Pick the "natives" JARs appropriate to your platform; we show 64-bit Windows versions in the examples below.

  • gluegen-rt.jar (downloads as gluegen-rt.gz)
  • gluegen-rt-natives-windows-amd64.jar
  • jogl.all.jar (downloads as jogl.all.gz)
  • jogl-natives-windows-amd64.jar
  • nativewindow.all.jar (downloads as nativewindow.all.gz)
  • nativewindow-natives-windows-amd64.jar
  • newt.all.jar (downloads as newt.all.gz)
  • newt-natives-windows-amd64.jar

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.