jogl Can't find dependent libraries

Hi!

I’m trying to get the jogl-1.0 beta to run from prebuild binaries. I’m using Windows environment for know at least. I’ll have to make sure it will run on Linux too. I have copied the jogl.dll to the system32 directory and the classpath is set up correctly (I think-)

I’ve also tried both JRE and SDK bin / ext directories for the dll and the jars.

My java.library.path is set to the following value:

C:\j2sdk1.4.2_03\bin;.;C:\WINNT\system32;C:\WINNT;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\SecureCRT 3.0;C:\Projects\Java\Shared\GameDev\jogl\build\obj;C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT;C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;C:\Program Files\Microsoft Visual Studio\Common\Tools;C:\Program Files\Microsoft Visual Studio\VC98\bin

The problem is that the dll is found correctly but it can’t find some libraries that it is dependend of:

java.lang.UnsatisfiedLinkError: C:\WINNT\system32\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:1485)
      at java.lang.Runtime.loadLibrary0(Runtime.java:788)
      at java.lang.System.loadLibrary(System.java:834)
      at com.exitium.graphics.test.GLCanvasTest.main(GLCanvasTest.java:26)

Here’s the test app I’m trying to run:


public static void main(String[] args) {
        String path = System.getProperty("java.library.path");
        System.out.println("java.library.path: " + path);
        System.loadLibrary("jogl");
}

Any help is really appreciated. I also tried some googling but there was no appropriate answer that I could find.

Thanks in advance!

Hi!

I installed Java3D OpenGL version and that seems to work ok so I’m going to use that for now. Maybe I get back to jogl some time.

BTW Many thanks for Andrew Davison for his excellent work with Java Programming Techniques for 2D, 2.5D, 3D,
and Networked Games book. And most importantly sharing it! Thanks!