java.lang.UnsatisfiedLinkError: nativewindow_jvm

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

java.lang.UnsatisfiedLinkError: nativewindow_jvm

Triipaxx
Hey guys,

i'm trying to deploy my jogl2 based applet using the jogamp applet launcher. But it failed with the following error message:

Exception in thread "AWT-EventQueue-2" java.lang.UnsatisfiedLinkError: nativewindow_jvm
        at org.jdesktop.applet.util.JNLPAppletLauncher.loadLibrary(JNLPAppletLauncher.java:2020)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.sun.nativewindow.impl.NativeLibLoaderBase.loadLibraryInternal(NativeLibLoaderBase.java:183)
        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.GLCapabilities.<init>(GLCapabilities.java:83)
        at javax.media.opengl.awt.GLJPanel.<init>(GLJPanel.java:189)
        at javax.media.opengl.awt.GLJPanel.<init>(GLJPanel.java:164)
        at javax.media.opengl.awt.GLJPanel.<init>(GLJPanel.java:157)
        at com.captres.triipaxx.vatapplet.VATApplet.init(VATApplet.java:116)
        at org.jdesktop.applet.util.JNLPAppletLauncher.startSubApplet(JNLPAppletLauncher.java:1987)
        at org.jdesktop.applet.util.JNLPAppletLauncher.access$200(JNLPAppletLauncher.java:661)
        at org.jdesktop.applet.util.JNLPAppletLauncher$5.run(JNLPAppletLauncher.java:1324)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)

i used the deploy sample listed here: http://jogamp.org/jogl-demos/www/applettest-jnlp.html
which obviouly works fine. but when i'm trying to deploy my own applet, it allways ends up in that error msg. what can i do to ged rid of that problem?
Reply | Threaded
Open this post in threaded view
|

Re: java.lang.UnsatisfiedLinkError: nativewindow_jvm

Triipaxx
ok my bad....
i didn't realized, that the jogamp libraries are fully redesigned! i was still working with the old libraries that are hostet on kenai... i updated my code so it fits to the new jogamp libs and.... viola, it works ;)