First off i’d like to thank anyone reading for helping ahead of time, i know these types of topics must be an eye sore on these forums.
Here is my dilema: I"m trying to get my school-owned laptop in school to work with JOGL. All the files are in /library/java/Extensions, as they should be (by all i mean jogl.jar, libjogl.jnilib, and libjogl_cg.jnilib). I have my project (in Eclipse) pointing to the jogl.jar, as it should, and, as i’m using 1.1.1, i call it with the “import net. …” version of the import.
Now unless that messup is incorrect it should work, but it doesn’t. System.load(“JOGL”) throws the common error of it not working, and when i run my code i get the Java.lang.UnsatisfiedLinkError. These two things signify that i did the setup incorrectly. However there is an oddity to the error. In the first two calls to OpenGl Methods:
GLCapabilities capabilities = new GLCapabilities();
canvas =
GLDrawableFactory.getFactory().createGLCanvas(capabilities);
the error is thrown on the SECOND line, not the first. Secondly, i have uninstantiated variables by the names of GraphicsDevice device; and GLCanvas Canvas at the top of my class, which the runtime goes through and doesn’t hit an error.
So with apparently some lines working, and others not, and the .jar as a whole not loading, but my files in the right spot, my conclusion is i must have mismatched .jar and .jnilib files. Now before i put all my hopes into this (i’ve gone through three days of agony mulling over this), could someone add some validity or some clarity to this situation. Thanks again.
Edit: it may or may not be helpful, but I’ve succesfully ran JOGL on a PC, with all sorts of crazy coding goodies happening, it’s just macs i dont’ understand. Also i did aquire the .jnilib’s from another source than the .jar, which is further proof that it may be a mismatch, but those errors just seem so typical of “you put the libraries in the wrong spot”