Help with Installation

Hi! I’m a true newbie, and have been having difficulty getting JOGL to usable state. I’ve been going through the steps listed here: https://jogl.dev.java.net/unbranded-source/browse/checkout/jogl/doc/HowToBuild.html?rev=HEAD&content-type=text/html

And I got all the way to step 5, where I type
“ant win32.mingw” in cmd console. And I get this error:

generate.c.grammar:
[antlr] java.lang.NoClassDefFoundError: antlr/Tool
[antlr] Exception in thread “main”

BUILD FAILED
file:C:/CVSviews/JOGL/make/build-gluegen.xml:102: ANTLR returned: 1

Im sort of at a loss at this point. Should I have just d/led one of the precompile binaries?? If I had, what do I do with files? ie… Where do I put them?

thanks,

Uh, is there any specific reason you need to personally build it? Wouldn’t it be easier just to grab the precompiled binarys? Then you just need the .jar in your classpath and the native lib path specified with -Djava.library.path=

no… no reason. :stuck_out_tongue: I just don’t know what Im doing really… lemme give that a try real quick.

you need to set class path of your installed antlr

for example on windows my antlr is installed in C:\java\antlr-2.7.3\

simplely type in the prompt:

set CLASSPATH=C:\java\antlr-2.7.3\antlr.jar

If you just use the precompled binaries just set the CLASSPATH to the location of ‘jogl.jar’ file and PATH to the location of the ‘jogl.dll’

Opps, didnt realize this was from months ago, oh well, i’ll post it anyways for future reference.