Login  Register

Re: Help installing JOGL

Posted by Penny on Jan 29, 2013; 4:58pm
URL: https://forum.jogamp.org/Help-installing-JOGL-tp3295611p4028046.html

Hi,

Although I have been programming Java for years I cant seem to figure out this problem...

I have copied all the jar files to "C:\Program Files\Java\jogl"

I have set the environment variable CLASSPATH to

.;C:\Program Files\Java\jogl\jar\gluegen.jar;C:\Program Files\Java\jogl\jar\gluegen-rt.jar;C:\Program Files\Java\jogl\jar\joal.jar;C:\Program Files\Java\jogl\jar\jocl.jar;C:\Program Files\Java\jogl\jar\jogl-all.jar;

I can now compile my code using javac.exe

GREAT! :)

My problem is I get the error ClassDefNotFound

I have tried the following command line...

"C:\Program Files\Java\jdk1.7.0_11\bin\javaw.exe" -jar MyProgram.jar

"C:\Program Files\Java\jdk1.7.0_11\bin\javaw.exe" -classpath "C:\Program Files\Java\jogl\jar\gluegen-rt.jar;C:\Program Files\Java\jogl\jar\jogl-all.jar" -jar MyProgram.jar

Nothing seems to work. I have even tried copying the jars and dlls into the bin and lib directories of jre7 and within the jre of jdk but yet still no oochachar

Please advise, many thanks :)