Hi there I am a newcomer to JOGL and am having a few problems getting it to work.
I have put the jogl.jar file in the ‘lib/ext/’ folder and the jogl.dll and jogl_cg.dll files in the ‘bin/’ folder.
I have a program I am using to try and test if my installation was successful which I can get to compile without error but when I try and run the program I get the following error:
java.lang.UnsatisfiedLinkError: C:\j2sdk1.4.2_01\jre\bin\jogl.dll: Can’t find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1560)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1477)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at HelloWorld.main(HelloWorld.java:6)
Exception in thread “main”
My program is as follows::
import net.java.games.jogl.*;
public class HelloWorld {
public static void main (String args[]) {
try {
System.loadLibrary(“jogl”);
System.out.println(“Hello World! (The native libraries are installed.)”);
GLCapabilities caps = new GLCapabilities();
System.out.println(“Hello JOGL! (The jar appears to be available.)”);
} catch (Exception e) {
System.out.println(e);
}
}
}
I am a bit lost and any help would be greatly appreciated!
Thanks
Paddy