Login  Register

Applet demos not working

Posted by Kyle on Jul 06, 2012; 1:37pm
URL: https://forum.jogamp.org/Applet-demos-not-working-tp4025445.html

Hello!

I've been considering deploy my JOGL application as an applet but I'm having second thoughts. I started looking into how to do the whole thing and checked out the demos. None of them would load. Nothing I did could fix it either, I've tried running under Ubuntu 12.04, Windows XP, Windows 7, Firefox, Google Chrome, Internet Explorer, Java 6, and Java 7.

Is deploying a JOGL applet currently impossible?

Running the gears demo in applet viewer gives me this:

java.security.AccessControlException: access denied (java.util.PropertyPermission java.io.tmpdir read)
        at java.security.AccessControlContext.checkPermission(AccessControlContext.java:393)
        at java.security.AccessController.checkPermission(AccessController.java:553)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
        at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1302)
        at java.lang.System.getProperty(System.java:669)
        at org.jdesktop.applet.util.JNLPAppletLauncher.initTmpRoot(JNLPAppletLauncher.java:1056)
        at org.jdesktop.applet.util.JNLPAppletLauncher.<clinit>(JNLPAppletLauncher.java:2190)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
        at java.lang.Class.newInstance0(Class.java:372)
        at java.lang.Class.newInstance(Class.java:325)
        at sun.applet.AppletPanel.createApplet(AppletPanel.java:798)
        at sun.applet.AppletPanel.runLoader(AppletPanel.java:727)
        at sun.applet.AppletPanel.run(AppletPanel.java:380)
        at java.lang.Thread.run(Thread.java:679)

Are the certificates expired or something? I'm not sure what else could cause that.