I am porting a Java 3D program on JDK 7. I used the jar files listing on this page: http://gouessej.wordpress.com/2012/08/01/java-3d-est-de-retour-java-3d-is-back/
and I get a runtime error. Do you know why? Thank you for your help, Pierre Here is the trace: [java] Catched FileNotFoundException: /System/Library/Java/Extensions/gluegen-rt-android-natives-macosx-universal.jar (No such file or directory), while TempJarCache.bootstrapNativeLib() of jar:file:/System/Library/Java/Extensions/gluegen-rt-android-natives-macosx-universal.jar!/ (file:/System/Library/Java/Extensions/ + gluegen-rt-android-natives-macosx-universal.jar) [java] Catched FileNotFoundException: /System/Library/Java/Extensions/jogl-all-android-natives-macosx-universal.jar (No such file or directory), while addNativeJarLibsImpl(classFromJavaJar class jogamp.nativewindow.NWJNILibLoader, classJarURI jar:file:/System/Library/Java/Extensions/jogl-all-android.jar!/jogamp/nativewindow/NWJNILibLoader.class, nativeJarBaseName jogl-all-android): jogl-all-android-natives-macosx-universal.jar + file:/System/Library/Java/Extensions/ -> jar:file:/System/Library/Java/Extensions/jogl-all-android-natives-macosx-universal.jar!/ [java] Catched IOException: TempJarCache: addNativeLibs: jar:file:/System/Library/Java/Extensions/jogl-all-android-natives-macosx-universal.jar!/, previous load attempt failed, while addNativeJarLibsImpl(classFromJavaJar class jogamp.nativewindow.NWJNILibLoader, classJarURI jar:file:/System/Library/Java/Extensions/jogl-all-android.jar!/jogamp/nativewindow/NWJNILibLoader.class, nativeJarBaseName jogl-all-android): jogl-all-android-natives-macosx-universal.jar + file:/System/Library/Java/Extensions/ -> jar:file:/System/Library/Java/Extensions/jogl-all-android-natives-macosx-universal.jar!/ [java] Catched IOException: TempJarCache: addNativeLibs: jar:file:/System/Library/Java/Extensions/jogl-all-android-natives-macosx-universal.jar!/, previous load attempt failed, while addNativeJarLibsImpl(classFromJavaJar class jogamp.nativewindow.NWJNILibLoader, classJarURI jar:file:/System/Library/Java/Extensions/jogl-all-android.jar!/jogamp/nativewindow/NWJNILibLoader.class, nativeJarBaseName jogl-all-android): jogl-all-android-natives-macosx-universal.jar + file:/System/Library/Java/Extensions/ -> jar:file:/System/Library/Java/Extensions/jogl-all-android-natives-macosx-universal.jar!/ [java] Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError [java] at se.lth.cs.carsimanimation3d.animation.AnimationUniverse.<init>(Unknown Source) [java] at se.lth.cs.carsimanimation3d.Visualizer.visualize(Unknown Source) [java] at se.lth.cs.carsimgui.MainWindowManager.visualizeNew3d(Unknown Source) [java] at se.lth.cs.carsimgui.MainWindowManager.visualizeTextArea2(Unknown Source) [java] at se.lth.cs.carsimgui.MainWindowEventListener.actionPerformed(Unknown Source) [java] at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018) [java] at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341) [java] at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) [java] at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) [java] at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252) [java] at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289) [java] at java.awt.Component.processMouseEvent(Component.java:6505) [java] at javax.swing.JComponent.processMouseEvent(JComponent.java:3321) [java] at java.awt.Component.processEvent(Component.java:6270) [java] at java.awt.Container.processEvent(Container.java:2229) [java] at java.awt.Component.dispatchEventImpl(Component.java:4861) [java] at java.awt.Container.dispatchEventImpl(Container.java:2287) [java] at java.awt.Component.dispatchEvent(Component.java:4687) [java] at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832) [java] at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492) [java] at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422) [java] at java.awt.Container.dispatchEventImpl(Container.java:2273) [java] at java.awt.Window.dispatchEventImpl(Window.java:2719) [java] at java.awt.Component.dispatchEvent(Component.java:4687) [java] at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735) [java] at java.awt.EventQueue.access$200(EventQueue.java:103) [java] at java.awt.EventQueue$3.run(EventQueue.java:694) [java] at java.awt.EventQueue$3.run(EventQueue.java:692) [java] at java.security.AccessController.doPrivileged(Native Method) [java] at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) [java] at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87) [java] at java.awt.EventQueue$4.run(EventQueue.java:708) [java] at java.awt.EventQueue$4.run(EventQueue.java:706) [java] at java.security.AccessController.doPrivileged(Native Method) [java] at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) [java] at java.awt.EventQueue.dispatchEvent(EventQueue.java:705) [java] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) [java] at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) [java] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) [java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146) [java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) [java] at java.awt.EventDispatchThread.run(EventDispatchThread.java:91) [java] Caused by: javax.media.opengl.GLException: No default device available [java] at javax.media.opengl.GLProfile.getProfileMap(GLProfile.java:2011) [java] at javax.media.opengl.GLProfile.get(GLProfile.java:896) [java] at javax.media.opengl.GLProfile.get(GLProfile.java:925) [java] at javax.media.opengl.GLProfile.getMaxFixedFunc(GLProfile.java:678) [java] at javax.media.j3d.JoglPipeline.initialize(JoglPipeline.java:119) [java] at javax.media.j3d.Pipeline.createPipeline(Pipeline.java:91) [java] at javax.media.j3d.MasterControl.loadLibraries(MasterControl.java:832) [java] at javax.media.j3d.VirtualUniverse.<clinit>(VirtualUniverse.java:274) [java] ... 42 more |
One more detail: I am using
[java] 3D [dev] 1.6.0-pre8-daily-experimental daily |
Please check if you have any old Java3d or jogl jars hanging around in the System/Extensions folder,
they get loaded preferentially and may be the source of the problem. Harvey |
In reply to this post by pnugues
Yes, I removed the old Java3d files: j3daudio.jar, j3dcore.jar, j3dutils.jar, and vecmath.jar and I put all the jar files that are in /jogamp-all-platforms/jar in both:
/Library/Java/Extensions/ and /System/Library/Java/Extensions/ Before that, I had to create three folders in /System/Library/Frameworks to solve run time errors like this one: [java] Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: Can't load library: /System/Library/Frameworks/nativewindow_awt.Framework/nativewindow_awt These folders hold: libnativewindow_awt.jnilib, libnativewindow_macosx.jnilib, and libgluegen-rt.jnilib. Do you have any idea of what causes the errors? Thank you for your help! Pierre |
Administrator
|
Hi Pierre
Please don't use the extension mechanism, it will only lead to troubles. Use Java3D 1.6-pre8 with JOGL 2.0.2 (stable). In my tutorial I don't encourage people to put JARs into the JVM or into directories used in the extension mechanism. You shouldn't use the jnilib files because when the JARs containing the native libraries are found, they are automatically extracted and loaded. Edit.: This seems to be a problem with JOGL: "Caused by: javax.media.opengl.GLException: No default device available " Which version of Mac OS X do you use? Which graphics card? Which driver?
Julien Gouesse | Personal blog | Website
|
I am using Lion version 10.7.5 with an ATI Radeon X1600 256 MB. I have no specific driver except those intalled by Apple.
Thank you Pierre |
Administrator
|
Which version of Java do you use? Please be very accurate (Apple, Oracle or OpenJDK, major update, minor update). Please strictly follow my tutorial and ensure that all GlueGen and JOGL JARs including those containing native libraries are in the same directory. Try to run a simple example based on JOGL, you can use the one I posted on the official Wikipedia page of JOGL:
http://en.wikipedia.org/wiki/Java_OpenGL#Code_example If this example doesn't work and causes the same exception, you'll have to report the bug against JOGL.
Julien Gouesse | Personal blog | Website
|
I am using Oracle's JDK 7:
java -version java version "1.7.0_25" Java(TM) SE Runtime Environment (build 1.7.0_25-b15) Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode) I will check the tutorial and run the example later today. Thank you for your help. Pierre |
Administrator
|
This post was updated on .
You're welcome. If you want, I can update TUER with the latest version of JOGL so that you just have to run it with Java Web Start (just click "OK", "OK", ...) to check whether this problem comes from it.
Edit.: Have you ever succeeded in running online demos of JOGL?
Julien Gouesse | Personal blog | Website
|
I tried to run the sample code and it failed with the same messages.
Using Netbeans 7.2, here are the compiler's messages: ant -f /Users/pierre/Projets/Quad/JOGLQuad clean jar init: deps-clean: Updating property file: /Users/pierre/Projets/Quad/JOGLQuad/build/built-clean.properties Deleting directory /Users/pierre/Projets/Quad/JOGLQuad/build clean: init: deps-jar: Created dir: /Users/pierre/Projets/Quad/JOGLQuad/build Updating property file: /Users/pierre/Projets/Quad/JOGLQuad/build/built-jar.properties Created dir: /Users/pierre/Projets/Quad/JOGLQuad/build/classes Created dir: /Users/pierre/Projets/Quad/JOGLQuad/build/empty Created dir: /Users/pierre/Projets/Quad/JOGLQuad/build/generated-sources/ap-source-output Compiling 1 source file to /Users/pierre/Projets/Quad/JOGLQuad/build/classes warning: Supported source version 'RELEASE_6' from annotation processor 'com.jogamp.gluegen.structgen.CStructAnnotationProcessor' less than -source '1.7' 1 warning compile: Created dir: /Users/pierre/Projets/Quad/JOGLQuad/dist Copying 1 file to /Users/pierre/Projets/Quad/JOGLQuad/build Nothing to copy. Building jar: /Users/pierre/Projets/Quad/JOGLQuad/dist/JOGLQuad.jar To run this application from the command line without Ant, try: java -jar "/Users/pierre/Projets/Quad/JOGLQuad/dist/JOGLQuad.jar" jar: GÉNÉRATION TERMINÉE (durée totale 1 seconde) And the runtime messages: run: Catched FileNotFoundException: /Library/Java/Extensions/gluegen-rt-android-natives-macosx-universal.jar (No such file or directory), while TempJarCache.bootstrapNativeLib() of jar:file:/Library/Java/Extensions/gluegen-rt-android-natives-macosx-universal.jar!/ (file:/Library/Java/Extensions/ + gluegen-rt-android-natives-macosx-universal.jar) Catched FileNotFoundException: /Library/Java/Extensions/jogl-all-android-natives-macosx-universal.jar (No such file or directory), while addNativeJarLibsImpl(classFromJavaJar class jogamp.nativewindow.NWJNILibLoader, classJarURI jar:file:/Library/Java/Extensions/jogl-all-android.jar!/jogamp/nativewindow/NWJNILibLoader.class, nativeJarBaseName jogl-all-android): jogl-all-android-natives-macosx-universal.jar + file:/Library/Java/Extensions/ -> jar:file:/Library/Java/Extensions/jogl-all-android-natives-macosx-universal.jar!/ Catched IOException: TempJarCache: addNativeLibs: jar:file:/Library/Java/Extensions/jogl-all-android-natives-macosx-universal.jar!/, previous load attempt failed, while addNativeJarLibsImpl(classFromJavaJar class jogamp.nativewindow.NWJNILibLoader, classJarURI jar:file:/Library/Java/Extensions/jogl-all-android.jar!/jogamp/nativewindow/NWJNILibLoader.class, nativeJarBaseName jogl-all-android): jogl-all-android-natives-macosx-universal.jar + file:/Library/Java/Extensions/ -> jar:file:/Library/Java/Extensions/jogl-all-android-natives-macosx-universal.jar!/ Catched IOException: TempJarCache: addNativeLibs: jar:file:/Library/Java/Extensions/jogl-all-android-natives-macosx-universal.jar!/, previous load attempt failed, while addNativeJarLibsImpl(classFromJavaJar class jogamp.nativewindow.NWJNILibLoader, classJarURI jar:file:/Library/Java/Extensions/jogl-all-android.jar!/jogamp/nativewindow/NWJNILibLoader.class, nativeJarBaseName jogl-all-android): jogl-all-android-natives-macosx-universal.jar + file:/Library/Java/Extensions/ -> jar:file:/Library/Java/Extensions/jogl-all-android-natives-macosx-universal.jar!/ Exception in thread "main" javax.media.opengl.GLException: No default device available at javax.media.opengl.GLProfile.getProfileMap(GLProfile.java:2011) at javax.media.opengl.GLProfile.get(GLProfile.java:863) at javax.media.opengl.GLProfile.getDefault(GLProfile.java:597) at javax.media.opengl.awt.GLCanvas.<init>(GLCanvas.java:247) at javax.media.opengl.awt.GLCanvas.<init>(GLCanvas.java:197) at javax.media.opengl.awt.GLCanvas.<init>(GLCanvas.java:187) at joglquad.JOGLQuad.main(JOGLQuad.java:78) Java Result: 1 GÉNÉRATION TERMINÉE (durée totale 7 secondes) Thank you again, Pierre |
By the way, where is your tutorial?
Here are the jars used by the Java platform on my machine. I duplicated the Java3D and JOGL files in /Library/Java/Extensions and /System/Library/Java/Extensions as I was not sure what the system used. Pierre /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/resources.jar /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/rt.jar /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/sunrsasign.jar /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/jsse.jar /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/jce.jar /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/charsets.jar /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/jfr.jar /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/JObjC.jar /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/classes /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/ext/dnsns.jar /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/ext/localedata.jar /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/ext/sunec.jar /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/ext/sunpkcs11.jar /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/jre/lib/ext/zipfs.jar /Library/Java/Extensions/dns_sd.jar /Library/Java/Extensions/gluegen-rt-android.jar /Library/Java/Extensions/gluegen-rt-natives-android-armv6.jar /Library/Java/Extensions/gluegen-rt-natives-linux-amd64.jar /Library/Java/Extensions/gluegen-rt-natives-linux-armv6.jar /Library/Java/Extensions/gluegen-rt-natives-linux-armv6hf.jar /Library/Java/Extensions/gluegen-rt-natives-linux-i586.jar /Library/Java/Extensions/gluegen-rt-natives-macosx-universal.jar /Library/Java/Extensions/gluegen-rt-natives-solaris-amd64.jar /Library/Java/Extensions/gluegen-rt-natives-solaris-i586.jar /Library/Java/Extensions/gluegen-rt-natives-windows-amd64.jar /Library/Java/Extensions/gluegen-rt-natives-windows-i586.jar /Library/Java/Extensions/gluegen-rt.jar /Library/Java/Extensions/gluegen.jar /Library/Java/Extensions/j3daudio.jar /Library/Java/Extensions/j3dcore.jar /Library/Java/Extensions/j3dutils.jar /Library/Java/Extensions/jai_codec.jar /Library/Java/Extensions/jai_core.jar /Library/Java/Extensions/joal-android.jar /Library/Java/Extensions/joal-natives-android-armv6.jar /Library/Java/Extensions/joal-natives-linux-amd64.jar /Library/Java/Extensions/joal-natives-linux-armv6.jar /Library/Java/Extensions/joal-natives-linux-armv6hf.jar /Library/Java/Extensions/joal-natives-linux-i586.jar /Library/Java/Extensions/joal-natives-macosx-universal.jar /Library/Java/Extensions/joal-natives-solaris-amd64.jar /Library/Java/Extensions/joal-natives-solaris-i586.jar /Library/Java/Extensions/joal-natives-windows-amd64.jar /Library/Java/Extensions/joal-natives-windows-i586.jar /Library/Java/Extensions/joal-test-android.jar /Library/Java/Extensions/joal-test.jar /Library/Java/Extensions/joal.jar /Library/Java/Extensions/jocl-natives-android-armv6.jar /Library/Java/Extensions/jocl-natives-linux-amd64.jar /Library/Java/Extensions/jocl-natives-linux-armv6.jar /Library/Java/Extensions/jocl-natives-linux-armv6hf.jar /Library/Java/Extensions/jocl-natives-linux-i586.jar /Library/Java/Extensions/jocl-natives-macosx-universal.jar /Library/Java/Extensions/jocl-natives-solaris-amd64.jar /Library/Java/Extensions/jocl-natives-solaris-i586.jar /Library/Java/Extensions/jocl-natives-windows-amd64.jar /Library/Java/Extensions/jocl-natives-windows-i586.jar /Library/Java/Extensions/jocl.jar /Library/Java/Extensions/jogl-all-android.jar /Library/Java/Extensions/jogl-all-mobile.jar /Library/Java/Extensions/jogl-all-natives-android-armv6.jar /Library/Java/Extensions/jogl-all-natives-linux-amd64.jar /Library/Java/Extensions/jogl-all-natives-linux-armv6.jar /Library/Java/Extensions/jogl-all-natives-linux-armv6hf.jar /Library/Java/Extensions/jogl-all-natives-linux-i586.jar /Library/Java/Extensions/jogl-all-natives-macosx-universal.jar /Library/Java/Extensions/jogl-all-natives-solaris-amd64.jar /Library/Java/Extensions/jogl-all-natives-solaris-i586.jar /Library/Java/Extensions/jogl-all-natives-windows-amd64.jar /Library/Java/Extensions/jogl-all-natives-windows-i586.jar /Library/Java/Extensions/jogl-all-noawt.jar /Library/Java/Extensions/jogl-all.jar /Library/Java/Extensions/jogl-test-android.jar /Library/Java/Extensions/jogl-test.jar /Library/Java/Extensions/mlibwrapper_jai.jar /Library/Java/Extensions/MRJToolkit.jar /Library/Java/Extensions/QTJava.zip /Library/Java/Extensions/vecmath.jar /System/Library/Java/Extensions/AppleScriptEngine.jar /System/Library/Java/Extensions/dns_sd.jar /System/Library/Java/Extensions/gluegen-rt-android.jar /System/Library/Java/Extensions/gluegen-rt-natives-android-armv6.jar /System/Library/Java/Extensions/gluegen-rt-natives-linux-amd64.jar /System/Library/Java/Extensions/gluegen-rt-natives-linux-armv6.jar /System/Library/Java/Extensions/gluegen-rt-natives-linux-armv6hf.jar /System/Library/Java/Extensions/gluegen-rt-natives-linux-i586.jar /System/Library/Java/Extensions/gluegen-rt-natives-macosx-universal.jar /System/Library/Java/Extensions/gluegen-rt-natives-solaris-amd64.jar /System/Library/Java/Extensions/gluegen-rt-natives-solaris-i586.jar /System/Library/Java/Extensions/gluegen-rt-natives-windows-amd64.jar /System/Library/Java/Extensions/gluegen-rt-natives-windows-i586.jar /System/Library/Java/Extensions/gluegen-rt.jar /System/Library/Java/Extensions/gluegen.jar /System/Library/Java/Extensions/j3daudio.jar /System/Library/Java/Extensions/j3dcore.jar /System/Library/Java/Extensions/j3dutils.jar /System/Library/Java/Extensions/jai_codec.jar /System/Library/Java/Extensions/jai_core.jar /System/Library/Java/Extensions/joal-android.jar /System/Library/Java/Extensions/joal-natives-android-armv6.jar /System/Library/Java/Extensions/joal-natives-linux-amd64.jar /System/Library/Java/Extensions/joal-natives-linux-armv6.jar /System/Library/Java/Extensions/joal-natives-linux-armv6hf.jar /System/Library/Java/Extensions/joal-natives-linux-i586.jar /System/Library/Java/Extensions/joal-natives-macosx-universal.jar /System/Library/Java/Extensions/joal-natives-solaris-amd64.jar /System/Library/Java/Extensions/joal-natives-solaris-i586.jar /System/Library/Java/Extensions/joal-natives-windows-amd64.jar /System/Library/Java/Extensions/joal-natives-windows-i586.jar /System/Library/Java/Extensions/joal-test-android.jar /System/Library/Java/Extensions/joal-test.jar /System/Library/Java/Extensions/joal.jar /System/Library/Java/Extensions/jocl-natives-android-armv6.jar /System/Library/Java/Extensions/jocl-natives-linux-amd64.jar /System/Library/Java/Extensions/jocl-natives-linux-armv6.jar /System/Library/Java/Extensions/jocl-natives-linux-armv6hf.jar /System/Library/Java/Extensions/jocl-natives-linux-i586.jar /System/Library/Java/Extensions/jocl-natives-macosx-universal.jar /System/Library/Java/Extensions/jocl-natives-solaris-amd64.jar /System/Library/Java/Extensions/jocl-natives-solaris-i586.jar /System/Library/Java/Extensions/jocl-natives-windows-amd64.jar /System/Library/Java/Extensions/jocl-natives-windows-i586.jar /System/Library/Java/Extensions/jocl.jar /System/Library/Java/Extensions/jogl-all-android.jar /System/Library/Java/Extensions/jogl-all-mobile.jar /System/Library/Java/Extensions/jogl-all-natives-android-armv6.jar /System/Library/Java/Extensions/jogl-all-natives-linux-amd64.jar /System/Library/Java/Extensions/jogl-all-natives-linux-armv6.jar /System/Library/Java/Extensions/jogl-all-natives-linux-armv6hf.jar /System/Library/Java/Extensions/jogl-all-natives-linux-i586.jar /System/Library/Java/Extensions/jogl-all-natives-macosx-universal.jar /System/Library/Java/Extensions/jogl-all-natives-solaris-amd64.jar /System/Library/Java/Extensions/jogl-all-natives-solaris-i586.jar /System/Library/Java/Extensions/jogl-all-natives-windows-amd64.jar /System/Library/Java/Extensions/jogl-all-natives-windows-i586.jar /System/Library/Java/Extensions/jogl-all-noawt.jar /System/Library/Java/Extensions/jogl-all.jar /System/Library/Java/Extensions/jogl-test-android.jar /System/Library/Java/Extensions/jogl-test.jar /System/Library/Java/Extensions/mlibwrapper_jai.jar /System/Library/Java/Extensions/MRJToolkit.jar /System/Library/Java/Extensions/QTJava.zip /System/Library/Java/Extensions/vecmath.jar |
Administrator
|
In reply to this post by pnugues
I think that you should fill a bug report against JOGL. Maybe there is a bug in the driver, maybe a workaround can be found. This graphics card is known to have some hardware problems too. I'm not sure it can be fixed.
My tutorial is in your first post and it exactly indicates that you should NOT install Java3D and JOGL as extensions.
Julien Gouesse | Personal blog | Website
|
In reply to this post by pnugues
That error message is odd for another reason, I wonder what code is responsible for this:
/Library/Java/Extensions/gluegen-rt-android-natives-macosx-universal.jar Very odd. Harvey |
Administrator
|
Yes it is a bit weird but it isn't the root cause of this bug, the source code that looks for native libraries is a bit dummy.
Edit.: You're right, Pierre added several JARs that are NOT mentioned in my tutorial: /Library/Java/Extensions/gluegen-rt-android.jar /Library/Java/Extensions/jogl-all-android.jar /Library/Java/Extensions/jogl-all-mobile.jar Pierre, please can you remove all JARs for embedded environments (Android and mobile) from your classpath? My tutorial is in French (my mother tongue) and in English, you have no excuse to fail in understanding it
Julien Gouesse | Personal blog | Website
|
Thank you Julien! I removed all the jars that were not in your tutorial and my program now works. There should have been some intricate conflicts between the jars that generated these weird messages.
Thank you again! Pierre PS. Just one more question: Should these libraries work with Java 6? |
Yes, they should work with Java6.
Harvey |
Administrator
|
In reply to this post by pnugues
You're welcome. Actually, the JARs that were not in the tutorial "told" GlueGen to try to extract the native libraries of Android, it was the main concern.
Julien Gouesse | Personal blog | Website
|
Free forum by Nabble | Edit this page |