Java-Gaming.org
Java4K - to go         Javadoc:
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, peek at the official java tutorials or join us at irc #jgo.
 
    Home     Help   Search   Login   Register   
Pages: [1]
  Print  
  Jogl jnlp permissions trouble  (Read 601 times)
0 Members and 1 Guest are viewing this topic.
Offline way2lazy2care

JGO n00b
*

Posts: 3



« on: 2010-01-13 17:49:28 »

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?
Offline gouessej

JGO Kernel
*****

Posts: 3433
Medals: 26


TUER


« Reply #1 on: 2010-01-14 06:51:06 »

Maybe try to sign your own JARs. I reproduce your bug.

Julien Gouesse
Pages: [1]
  Print  
 
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.114 seconds with 22 queries.