Hi there. Managed to get my code up and running on my mac fine, but moving the whole thing over to webstart is giving me trouble. I get this error:
java.lang.ExceptionInInitializerError
at javax.media.opengl.GLCanvas.<clinit>(GLCanvas.java:63)
at SimpleGLEventListener.main(SimpleGLEventListener.java:547)
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:585)
at com.sun.javaws.Launcher.executeApplication(Launcher.java:1108)
at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1055)
at com.sun.javaws.Launcher.continueLaunch(Launcher.java:898)
at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:469)
at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:217)
at com.sun.javaws.Launcher.run(Launcher.java:164)
at java.lang.Thread.run(Thread.java:613)
Caused by: java.security.AccessControlException: access denied (java.util.PropertyPermission jogl.verbose read)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
at java.security.AccessController.checkPermission(AccessController.java:427)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1285)
at java.lang.System.getProperty(System.java:627)
at com.sun.opengl.impl.Debug$2.run(Debug.java:73)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.opengl.impl.Debug.isPropertyDefined(Debug.java:71)
at com.sun.opengl.impl.Debug.<clinit>(Debug.java:53)
Now, i cant seem for the life of me to figure out what this is. Here is my JNLP File:
<?xml version="1.0" encoding="utf-8"?>
<!-- JNLP File for SwingSet2 Demo Application -->
<jnlp
spec="1.0+"
codebase="http://aig.cs.man.ac.uk/people/ben/jaws/"
href="daito.jnlp">
<information>
<title>DAITO Experiment Tool B</title>
<vendor>Ben Blundell, Advanced Interfaces Group</vendor>
<description>DAITO Experiment Tool B</description>
<description kind="short">Tool B in the DAITO Experiment</description>
<offline-allowed/>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.4.2+"/>
<jar href="daito.jar"/>
<!--<jar href="mail.jar"/>
<jar href="activation.jar"/>
<extension href="http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/jogl.jnlp" name="jogl"/> -->
<extension name="colt" href="colt.jnlp"/>
<extension name="jogl" href="jogl.jnlp"/>
</resources>
<!-- <resources os="Mac OS">
<j2se version="1.4.2+"/>
<nativelib href="jogl-natives-macosx.jar"/>
</resources> -->
<application-desc main-class="SimpleGLEventListener">
<argument>1.5</argument>
<argument>test.txt</argument>
<argument>questionspeoplepets.txt</argument>
</application-desc>
</jnlp>
and here is the jogl jnpl file:
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="http://aig.cs.man.ac.uk/people/ben/jaws/" href="jogl.jnlp">
<information>
<title>JOGL</title>
<vendor>Sun Microsystems, Inc.</vendor>
<offline-allowed/>
</information>
<offline-allowed/>
<resources>
<jar href="jogl.jar"/>
</resources>
<resources os="MacOS">
<nativelib href="jogl-natives-macos.jar"/>
</resource>
<component-desc/>
</jnlp>
Any thoughts? Im using the same JOGL libs and the like throughout. No luck it seems