This error has prevented me from making anything that contains OpenGL for months:
java.lang.ExceptionInInitializerError
at net.java.games.jogl.DefaultGLCapabilitiesChooser.<clinit>(Defaul
pabilitiesChooser.java:83)
at net.java.games.jogl.GLDrawableFactory.createGLCanvas(GLDrawableF
y.java:136)
at net.java.games.jogl.GLDrawableFactory.createGLCanvas(GLDrawableF
y.java:118)
at net.java.games.jogl.GLDrawableFactory.createGLCanvas(GLDrawableF
y.java:85)
at JOGLTest.init(JOGLTest.java:37)
at sun.applet.AppletPanel.run(AppletPanel.java:374)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.security.AccessControlException: access denied (java.util.P
tyPermission jogl.verbose read)
at java.security.AccessControlContext.checkPermission(AccessControl
xt.java:264)
at java.security.AccessController.checkPermission(AccessController.
427)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:5
at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.ja
85)
at java.lang.System.getProperty(System.java:627)
at net.java.games.jogl.impl.Debug$2.run(Debug.java:73)
at java.security.AccessController.doPrivileged(Native Method)
at net.java.games.jogl.impl.Debug.isPropertyDefined(Debug.java:71)
at net.java.games.jogl.impl.Debug.<clinit>(Debug.java:53)
... 7 more
I want an OpenGL applet but it keeps getting this error. How can I use ClassLoader to fix the permissions? The reason for an applet instead for webstart because I want to make online games for websites. Another reason I want an applet because I want my web pages interactive by putting multiple applets in one page. If possible, do not let the game display a security notice because is scary for most users because they think the security notice is similar to the dangerous ActiveX notices.
Thank you VERY much.