On Mac OS X, for Java 7 and later, you can download it from just like on Windows and Linux.You can install the JDK wherever you like. Make sure you get Java SE 6 update 24 or later. On Windows and Linux, download the JDK from at.If you want to use Java 7, you'll need to install that yourself (see below). It would be at /System/Library/Java/JavaVirtualMachines/1.6.0.jdk. On Mac OS X, Apple's JDK 6 may be included with the operating system, depending on what version you're running.A JRE contains only bin and lib directories. If it's got a jre subdirectory inside, it's a JDK. On Windows and Linux, if you've got some kind of Java installed, but you're not sure whether it's a JDK or a Java Runtime Environment (JRE), look inside the directory.On Windows and Linux, Ant also needs lib/tools.jar, which doesn't come in the JRE. You must use a JDK, not a JRE, because Ant needs bin/javac, which doesn't come in the JRE.JOGL will work with OpenJDK and IcedTea, but here we use Oracle's and Apple's JDKs as examples. The first thing we need is a Java Development Kit (JDK). Additional platforms like Solaris/OpenSolaris, FreeBSD and HP/UX are handled by the build system, but are not officially supported.
#Install ant on mac brew mac os x#
Note: A static html version exists in the JOGL project doc folder, see.Ĭurrently we support building JOGL on Linux (x86 32- and 64-bit), Windows XP/Vista/7 (32- and 64-bit) and Mac OS X (x86 32- and 64-bit). To build JOGL on the command line, we'll need to install prerequisites like Ant, pull the code from a Git repository, and run the Ant build scripts. 15 Try the experimental nvidia Cg toolkit binding (optional).
14 Set up custom Ant properties (optional).10 Pull the JOGL source code from GitHub or JogAmp.