[RE-OPEN] UnsatisfiedLinkError: jogamp.nativewindow.jawt
Posted by Gaël on Feb 15, 2016; 3:42pm
URL: https://forum.jogamp.org/RE-OPEN-UnsatisfiedLinkError-jogamp-nativewindow-jawt-tp4036242.html
Hello,
I'm working on an eclipse plugin with tycho that is a maven plugin, binding maven pom approach and OSGI manifest approach.
Tell you that cause i already had problem with natives libraries.
Jogamp is a dependency of a third-party (jogl-all-main and gluegen-rt-main) and it couldn't automaticaly resolve them, so I think my problem may be relative to this config.
Anyway, now the required nat libs for jogamp(2.0.0rc11) are successfully loaded. I unziped all jars containing the nat libs in a folder in my jar then expose it in java.library.path
Now working with my third-party, Jzy3D, I have the following stacktrace :
java.lang.UnsatisfiedLinkError: jogamp.nativewindow.jawt.JAWTFactory.JAWT_GetAWT1(Ljava/nio/ByteBuffer;)Z
at jogamp.nativewindow.jawt.JAWTFactory.JAWT_GetAWT1(Native Method)
at jogamp.nativewindow.jawt.JAWTFactory.JAWT_GetAWT(JAWTFactory.java:37)
at jogamp.nativewindow.jawt.JAWT$1.run(JAWT.java:106)
at jogamp.nativewindow.jawt.JAWT$1.run(JAWT.java:103)
at java.security.AccessController.doPrivileged(Native Method)
at jogamp.nativewindow.jawt.JAWT.getJAWT(JAWT.java:103)
at jogamp.nativewindow.jawt.JAWTUtil.getJAWT(JAWTUtil.java:166)
at jogamp.nativewindow.jawt.JAWTUtil.<clinit>(JAWTUtil.java:192)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at javax.media.nativewindow.NativeWindowFactory$2.run(NativeWindowFactory.java:232)
at javax.media.nativewindow.NativeWindowFactory$2.run(NativeWindowFactory.java:229)
at java.security.AccessController.doPrivileged(Native Method)
at javax.media.nativewindow.NativeWindowFactory.initSingleton(NativeWindowFactory.java:229)
at javax.media.opengl.GLProfile.initProfilesForDefaultDevices(GLProfile.java:1368)
at javax.media.opengl.GLProfile.access$100(GLProfile.java:76)
at javax.media.opengl.GLProfile$1.run(GLProfile.java:157)
at java.security.AccessController.doPrivileged(Native Method)
at javax.media.opengl.GLProfile.initSingleton(GLProfile.java:123)
I'm sur that the libs are ok with the jogamp version.
I can't figure out why it throws this error, help would be really appreciate.
Thank in advance.