UnsatisfiedLinkError

My program uses jogl. It runs successfully under WinXP(SP2) and Win2000(SP1) but when I tryed to run it under Win2000(SP4) I received the strange error message:


Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\WINNT\system32\jog
l.dll: ????????? ???? ? ????????? ????????????? ?????????? ???????????? ????????
?? (DLL)
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(Unknown Source)
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.loadLibrary0(Unknown Source)
        at java.lang.System.loadLibrary(Unknown Source)
        at net.java.games.jogl.impl.NativeLibLoader$1.run(NativeLibLoader.java:7
2)
        at java.security.AccessController.doPrivileged(Native Method)
        at net.java.games.jogl.impl.NativeLibLoader.load(NativeLibLoader.java:58
)
        at net.java.games.jogl.impl.GLContext.<clinit>(GLContext.java:52)
        at net.java.games.jogl.impl.windows.WindowsGLContextFactory.createGLCont
ext(WindowsGLContextFactory.java:147)
        at net.java.games.jogl.GLCanvas.<init>(GLCanvas.java:72)
        at net.java.games.jogl.GLDrawableFactory.createGLCanvas(GLDrawableFactor
y.java:150)
        at net.java.games.jogl.GLDrawableFactory.createGLCanvas(GLDrawableFactor
y.java:118)
        at net.java.games.jogl.GLDrawableFactory.createGLCanvas(GLDrawableFactor
y.java:85)
        at BezieTabbedPane.<init>(BezieTabbedPane.java:24)
        at Form.$$$setupUI$$$(Form.java)
        at Form.<init>(Form.java:163)
        at Form.<clinit>(Form.java:19)

I inserted the jogl dll’s to C:\WINNT\system32 and put the name of jogl.jar in the classpath.
Anyone please help me with the error I got.

What locale are you running in? Are you running in different locales when jogl works vs. doesn’t?

It wasn’t different locales but it was different computers in Russia. The computer when jogl doesn’t work has MS Visual Studio 2003 installed. Is it reason? ???

No, that shouldn’t affect anything. What is the English translation of the error message?

I would strongly recommend against putting the JOGL DLLs into either your system directory or JRE. Instead put them in another directory and include that directory in your PATH.

If you can’t figure out what is going on please try the current JSR-231 nightly build (on the JOGL home page) with the above suggestion.

I solved this problem. I replaced opengl32.dll and glu32.dll files at computer when JOGL didn’t work. Now it’s work without problems. :slight_smile:

Why?

Because of the same problem you just had - your dll’s getting out of date and causing things to not run. Also you can/will conflict with other JOGL based apps or web start JOGL apps.