Login  Register

Re: Problem with GLProfile and jogl2-rc2

Posted by reyman on Oct 27, 2011; 11:29am
URL: https://forum.jogamp.org/Problem-with-GLProfile-and-jogl2-rc2-tp3447491p3457343.html

Le jeu. 27 oct. 2011 12:03:19 CEST, rey sebastien a écrit :

> Le jeu. 27 oct. 2011 12:02:04 CEST, gouessej [via jogamp] a écrit :
>> Thank you so much :)
>> Julien Gouesse
>> http://tuer.sourceforge.net
>> http://gouessej.wordpress.com
>>
>>
>> ------------------------------------------------------------------------
>> If you reply to this email, your message will be added to the
>> discussion below:
>> http://forum.jogamp.org/Problem-with-GLProfile-and-jogl2-rc2-tp3447491p3457192.html 
>>
>> To unsubscribe from Problem with GLProfile and jogl2-rc2, click here
>> <
>>
>
> Now it's time to have an automatic deployment on the jogamp nexus
> server ? :]
>

I mavenize JZY3D with jog and gluegen remote dependency, and i try to
use it with a custom script.
The custom script is ok, i'm sure because it's work with jogl1 + old
version of jzxy3d

I have this error when i try to load graphic display, and the
dependency download on remote nexus server works ,
so it seems jzxy3d doesn't use the native loader in rc4.

Do you have a piece of code, or sample on how to load the jni ?

Thanks a lot :)

My error :
java.util.zip.ZipException: error in opening zip file
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(ZipFile.java:127)
        at java.util.jar.JarFile.<init>(JarFile.java:135)
        at java.util.jar.JarFile.<init>(JarFile.java:72)
        at sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:72)
        at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:48)
        at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:55)
        at
sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:104)
        at
sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:71)
        at com.jogamp.common.util.JarUtil.getJarFile(JarUtil.java:153)
        at com.jogamp.common.os.Platform$3.run(Platform.java:308)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.jogamp.common.os.Platform.loadGlueGenRTImpl(Platform.java:299)
        at com.jogamp.common.os.Platform.<clinit>(Platform.java:208)
        at javax.media.opengl.GLProfile.<clinit>(GLProfile.java:1155)
        at org.jzy3d.global.Settings.<init>(Settings.java:53)
        at org.jzy3d.global.Settings.getInstance(Settings.java:18)
        at org.jzy3d.chart.Chart.<init>(Chart.java:52)
        at org.jzy3d.chart.Chart.<init>(Chart.java:40)
        at fr.iscpif.loadCsvData.testGraphique$.main(testGraphique.scala:95)
        at fr.iscpif.loadCsvData.testGraphique.main(testGraphique.scala)
Exception in thread "main" java.lang.UnsatisfiedLinkError: no
gluegen-rt in java.library.path
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1738)
        at java.lang.Runtime.loadLibrary0(Runtime.java:823)
        at java.lang.System.loadLibrary(System.java:1028)
        at
com.jogamp.common.jvm.JNILibLoaderBase.loadLibraryInternal(JNILibLoaderBase.java:310)
        at
com.jogamp.common.jvm.JNILibLoaderBase.access$000(JNILibLoaderBase.java:57)
        at
com.jogamp.common.jvm.JNILibLoaderBase$DefaultAction.loadLibrary(JNILibLoaderBase.java:87)
        at
com.jogamp.common.jvm.JNILibLoaderBase.loadLibrary(JNILibLoaderBase.java:207)
        at
com.jogamp.common.os.DynamicLibraryBundle$GlueJNILibLoader.loadLibrary(DynamicLibraryBundle.java:344)
        at com.jogamp.common.os.Platform$3.run(Platform.java:314)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.jogamp.common.os.Platform.loadGlueGenRTImpl(Platform.java:299)
        at com.jogamp.common.os.Platform.<clinit>(Platform.java:208)
        at javax.media.opengl.GLProfile.<clinit>(GLProfile.java:1155)
        at org.jzy3d.global.Settings.<init>(Settings.java:53)
        at org.jzy3d.global.Settings.getInstance(Settings.java:18)
        at org.jzy3d.chart.Chart.<init>(Chart.java:52)
        at org.jzy3d.chart.Chart.<init>(Chart.java:40)
        at fr.iscpif.loadCsvData.testGraphique$.main(testGraphique.scala:95)
        at fr.iscpif.loadCsvData.testGraphique.main(testGraphique.scala)