cant fix error: no jogl in java.library.path

hi i tried all hints with setting classpath, extracting
jogl.dll… and and and… but i still geht this error…

java.lang.UnsatisfiedLinkError: no jogl in java.library.path
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:60)
at java.security.AccessController.doPrivileged(Native Method)
at net.java.games.jogl.impl.NativeLibLoader.(NativeLibLoader.java:46)
at net.java.games.jogl.impl.GLContext.(GLContext.java:50)
at net.java.games.jogl.impl.windows.WindowsGLContextFactory.createGLContext(WindowsGLContextFactory.java:93)
at net.java.games.jogl.GLCanvas.(GLCanvas.java:70)
at net.java.games.jogl.GLDrawableFactory.createGLCanvas(GLDrawableFactory.java:150)
at net.java.games.jogl.GLDrawableFactory.createGLCanvas(GLDrawableFactory.java:118)
at net.java.games.jogl.GLDrawableFactory.createGLCanvas(GLDrawableFactory.java:85)
at Test.main(Test.java:22)
Exception in thread “main”

how can i get jogl running?!?!
i have copied the jogl.jar and the natives.jar also the dlls in the jre/lib/ext and bin folders… but wont work
i entered the natives jar and jogl.jar in the builder path of the package…

i dont know whats wrong… can somebody tell me?

knitte

[quote]hi i tried all hints with setting classpath, extracting
jogl.dll… and and and… but i still geht this error…

java.lang.UnsatisfiedLinkError: no jogl in java.library.path
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:60)
at java.security.AccessController.doPrivileged(Native Method)
at net.java.games.jogl.impl.NativeLibLoader.(NativeLibLoader.java:46)
at net.java.games.jogl.impl.GLContext.(GLContext.java:50)
at net.java.games.jogl.impl.windows.WindowsGLContextFactory.createGLContext(WindowsGLContextFactory.java:93)
at net.java.games.jogl.GLCanvas.(GLCanvas.java:70)
at net.java.games.jogl.GLDrawableFactory.createGLCanvas(GLDrawableFactory.java:150)
at net.java.games.jogl.GLDrawableFactory.createGLCanvas(GLDrawableFactory.java:118)
at net.java.games.jogl.GLDrawableFactory.createGLCanvas(GLDrawableFactory.java:85)
at Test.main(Test.java:22)
Exception in thread “main”

how can i get jogl running?!?!
i have copied the jogl.jar and the natives.jar also the dlls in the jre/lib/ext and bin folders… but wont work
i entered the natives jar and jogl.jar in the builder path of the package…

i dont know whats wrong… can somebody tell me?

knitte
[/quote]
The unsatisfied link error means that your JVM cannot find the two native DLL’s that are contained in the jogl-natives-win32.jar.

What i do at least is unjar them into the bin directory of whatever JDK i’m using although there is other options. Make sure if you have a couple of JDKs or JREs installed that you’re putting them into the bin folder of the correct JDK. If you’re running your stuff from the command line check your path env variable and see which is the first directory listing that contains your JDK bin directory. That ought to do the trick.

D.

Yes thank you its working… but not fine… windows crashed…
and there was this line: Init GL is net.java.games.jogl. impl.windows.WindowsGLImp is this an error… or why does it crashed?

but thx
i thought i only have to copy the files to the jdk

Windows itself actually crashed ? or your app threw an exception ? If windows itself crashed its probably a driver error or something similar. What are your specs Graphics card wise ? If not then just post the exception.

Theres a good guide to getting started with JOGL in this forum, should be stickified to the top of the message list.

D.

Hi
i have a gforce 4 ti4200

and i used the tutorial of the top…

hmm…