I made a simple jogl game for a class and I’ve been trying to get it runnable on other people’s computers using Java web start. Anyway, I originally used a jnlp I found in this forum as a basis, which set it to run as an applet instead of an application. My game runs as an application not an applet, which I understood was doable with jnlp, so I switched the jnlp to reflect that.
Now, running locally, I get a permission error:
“java.security.AccessControlException: access denied (java.util.PropertyPermission PixelDepthScale read)”
I am really confused as it worked when the jnlp thought it was an applet. It would launch the application, but give an exception saying that it wasn’t an applet. It would still function.
I am wondering why it would work the broken way and not the way it should. The JOGL jnlp should grant all the permissions for everything to work.
You can see the final product here:
http://www.micsworld.com/portfolio/projects/Ezam
Click the link to play using the old jnlp. Any added knowledge?