How to install jogl on linux step by step?
I am a noob.
I’ve been working on it all day long and didn’t succeed.
I tried using all tutorials I’ve found, and still haven’t succeed.
Thanks.
How to install jogl on linux step by step?
I am a noob.
I’ve been working on it all day long and didn’t succeed.
I tried using all tutorials I’ve found, and still haven’t succeed.
Thanks.
Depends on your IDE, but assuming you’re just using a plain-text editor:
download the JOGL and GlueGen binaries/JARs for your platform (gluegen files already come with the JOGL download)
extract the files to wherever you like, but don’t put them in the same place as the Java or your Linux libs directories (I’m gonna use /somedir/jogl for these steps)
when compiling your Java source files, be sure to include the JOGL and GlueGen JARs:
javac -cp /somedir/jogl/jogl.jar;/somedir/jogl/gluegen-rt.jar ...
java -cp /somedir/jogl/jogl.jar;/somedir/jogl/gluegen-rt.jar -Djava.library.path=/somedir/jogl ...
I think if you’re using Java 6, you can simplify the classpath parameter to just -cp /somedir/jogl/*.jar