Re: JOGL on OSX Lion
Posted by iamstuffed on Sep 30, 2011; 1:33am
URL: https://forum.jogamp.org/JOGL-on-OSX-Lion-tp3378258p3381030.html
I just get an error like the following whenever I try the demos.
Java Web Start 1.6.0_26
Using JRE version 1.6.0_26-b03-383-11A511 Java HotSpot(TM) 64-Bit Server VM
User home directory = /Users/iamstuffed
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
0-5: set trace level to <n>
----------------------------------------------------
java.io.FileNotFoundException: /var/folders/zr/vf717jrx7jn39ytkfy3gwg180000gn/T/jogamp.tmp.cache/jln8480753351729872952/jln6971120673415178729/META-INF/MANIFEST.MF (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:194)
at java.io.FileOutputStream.<init>(FileOutputStream.java:145)
at com.jogamp.common.util.JarUtil.extract(JarUtil.java:275)
at com.jogamp.common.util.cache.TempJarCache.addNativeLibs(TempJarCache.java:135)
at com.jogamp.common.jvm.JNILibLoaderBase.addNativeJarLibs(JNILibLoaderBase.java:160)
at javax.media.opengl.GLProfile$1.run(GLProfile.java:129)
at java.security.AccessController.doPrivileged(Native Method)
at javax.media.opengl.GLProfile.initSingleton(GLProfile.java:115)
at demos.gears.Gears.<clinit>(Gears.java:30)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.javaws.Launcher.executeApplication(Launcher.java:1914)
at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1847)
at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1609)
at com.sun.javaws.Launcher.run(Launcher.java:138)
at java.lang.Thread.run(Thread.java:680)
java.lang.ExceptionInInitializerError
at javax.media.opengl.GLContext.<init>(GLContext.java:112)
at jogamp.opengl.GLContextImpl.<init>(GLContextImpl.java:116)
at jogamp.opengl.macosx.cgl.MacOSXCGLContext.<init>(MacOSXCGLContext.java:61)
at jogamp.opengl.macosx.cgl.MacOSXOnscreenCGLContext.<init>(MacOSXOnscreenCGLContext.java:49)
at jogamp.opengl.macosx.cgl.MacOSXOnscreenCGLDrawable.createContext(MacOSXOnscreenCGLDrawable.java:58)
at javax.media.opengl.awt.GLCanvas.addNotify(GLCanvas.java:536)
at java.awt.Container.addNotify(Container.java:2622)
at java.awt.Window.addNotify(Window.java:663)
at java.awt.Frame.addNotify(Frame.java:470)
at java.awt.Window.show(Window.java:859)
at java.awt.Component.show(Component.java:1584)
at java.awt.Component.setVisible(Component.java:1536)
at java.awt.Window.setVisible(Window.java:842)
at demos.gears.Gears.main(Gears.java:77)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.javaws.Launcher.executeApplication(Launcher.java:1914)
at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1847)
at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1609)
at com.sun.javaws.Launcher.run(Launcher.java:138)
at java.lang.Thread.run(Thread.java:680)
Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission accessDeclaredMembers)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:374)
at java.security.AccessController.checkPermission(AccessController.java:546)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at java.lang.SecurityManager.checkMemberAccess(SecurityManager.java:1662)
at java.lang.Class.checkMemberAccess(Class.java:2157)
at java.lang.Class.getDeclaredMethod(Class.java:1934)
at com.jogamp.common.util.IntObjectHashMap.<clinit>(IntObjectHashMap.java:89)
... 23 more
#### Java Web Start Error:
#### null
Any ideas on what I could try?