Re: jogl with Java 1.7

Posted by Wade Walker on
URL: https://forum.jogamp.org/jogl-with-Java-1-7-tp4025660p4025691.html

jiapei100 wrote
2) How to set CLASSPATH?
Clearly,
CLASSPATH="/usr/share/java:$JAVA_HOME/lib:$JRE_HOME/lib:$JMF_HOME/lib"
is wrong already.
How to set a correct CLASSPATH?
Hi Pei,

It sounds like you're trying to build JOGL without following the instructions, which can lead to very strange problems like you're experiencing

For example, the instructions explicitly say to unset the classpath: http://jogamp.org/wiki/index.php/Building_JOGL_on_the_command_line#Unset_the_classpath

If you just follow the instructions exactly (and don't do anything they don't say to do), it should work. If you find any problems with the instructions, let me know and I will fix them.