Dear all,
I have problem in running JGOL.
I cannot find the “dll” file from the latest JOGL release. Instead, I find jogl.jar and jogl-native-win32.jar from
https://jogl.dev.java.net/servlets/ProjectDocumentList?folderID=3726&expandFolder=3726&folderID=2771
I put all jar files to the lib\ext directory of jdk and jre directory. It works when I compile the file, but it fails when I run the file. The following message come out:
Exception in thread “main” 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:72)
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.(GLContext.java:52)
at net.java.games.jogl.impl.windows.WindowsGLContextFactory.createGLContext(WindowsGLContextFactory.java:147)
at net.java.games.jogl.GLCanvas.(GLCanvas.java:72)
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 JoglApp1.main(JoglApp1.java:48)
please help me~~