Posted by
pnugues on
Aug 02, 2013; 8:22pm
URL: https://forum.jogamp.org/Execution-failed-on-MacOS-tp4029717.html
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