Hi,
I’m trying to get started with jogl 2.0 and have been getting the following error message in eclipse when trying to run the gears demo from the source (running from the compiled jar works):
java.lang.UnsatisfiedLinkError: no nativewindow_jvm in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1792)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1045)
at com.sun.nativewindow.impl.NativeLibLoaderBase.loadLibraryInternal(NativeLibLoaderBase.java:199)
at com.sun.nativewindow.impl.NativeLibLoaderBase.access$000(NativeLibLoaderBase.java:50)
at com.sun.nativewindow.impl.NativeLibLoaderBase$DefaultAction.loadLibrary(NativeLibLoaderBase.java:88)
at com.sun.nativewindow.impl.NativeLibLoaderBase.loadLibrary(NativeLibLoaderBase.java:126)
at com.sun.nativewindow.impl.NativeLibLoaderBase$1.run(NativeLibLoaderBase.java:133)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.nativewindow.impl.NativeLibLoaderBase.loadNativeWindow(NativeLibLoaderBase.java:131)
at com.sun.nativewindow.impl.jvm.JVMUtil.<clinit>(JVMUtil.java:53)
at javax.media.opengl.GLProfile.<clinit>(GLProfile.java:625)
at javax.media.opengl.awt.GLCanvas.<clinit>(GLCanvas.java:78)
at GearsApplet.init(GearsApplet.java:15)
at sun.applet.AppletPanel.run(AppletPanel.java:424)
at java.lang.Thread.run(Thread.java:637)
I added the required jars (including nativewindow.all.jar) and added the native lib path for them as well. You can download the zipped eclipse project here.
Any idea what went wrong?