Reputation: 23624
I want to use JOGL (for Clojure, not Java). There seems to be quite a combination of alternatives for JDKs and OpenGL bindings, and I don't want to use a scatter gun approach and clog up my machine installing too much cruft. Please help me get started!
sun-java6-jdk
, for example)I'll be using Emacs as my IDE so I don't need to install Eclipse or anything, I just need to be able to build with ant or whatever.
Please feel free to revise your answer (building on others' answers) to provide a comprehensive how-to.
Upvotes: 4
Views: 2259
Reputation: 287915
Starting with Ubuntu 8.10 (intrepid), JOGL is already packaged (libjogl-java). The best JDK to chose should be openjdk-6-jdk as it is in main(=supported by Ubuntu's core team) since intrepid and derived from Sun's proprietary JDK6 anyway.
On intrepid, just running
sudo apt-get install -y ant openjdk-6-jdk libjogl-java
should get you started. On older versions, you must leave out libjogl-java, manually install all the dependencies (everything with a red circle) and build JOGL (download, unpack, ant).
Upvotes: 7