Login  Register

Re: Help Setting up JOGL and an error with SimpleScene.java

Posted by Wade Walker on Aug 26, 2012; 3:02pm
URL: https://forum.jogamp.org/Help-Setting-up-JOGL-and-an-error-with-SimpleScene-java-tp4025890p4025894.html

The first problem ("GLProfile cannot be resolved to a type") just sounds like your SimpleScene project doesn't properly reference the JOGL user library you created. That's the error I'd expect when you refer to a class that you didn't include the JARs for. Not sure why renaming your project package would have helped this :)

Not 100% certain of the second problem, but you don't have to set the native library location for the user library JARs. At runtime, JOGL will look for the natives JARs in the same directory as jogl.all.jar and gluegen-rt.jar all by itself, with no need for setting java.library.path.