Hi,
Simple program to test jogl:
public class Main {
public static void main(String[] args) {
String path = System.getProperty(“java.library.path”);
System.out.println(path);
System.loadLibrary("jogl");
}
}
I get:
C:\JAVA\j2sdk1.4.2_05\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Tools\apache-ant-1.6.2\bin;C:\Tools\apache-ant-1.6.2;C:\Tools\MinGW\bin;C:\JAVA\j2sdk1.4.2_05;C:\JAVA\j2sdk1.4.2_05\bin;C:\Program Files\ATI Technologies\ATI Control Panel;C:\DevTools\3DEngine\CS;C:\DevTools\jogl
java.lang.UnsatisfiedLinkError: C:\DevTools\jogl\jogl.dll: Can’t find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1511)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at Main.main(Main.java:15)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)
Exception in thread “main”
Process finished with exit code 1
If I try to run the jogl examples, then I have no problem.
Two DLLs are under C:\DevTools\jogl:
jogl.dll (size 384Kb)
jogl_cg.dll (size 72Kb
I downloaded jogl.jar from sourceforge JOGL (1.1 beta 10 release build)
Now, I can run the demos, but I do not understand the dependency. Any ideas?