Java.IO.Filepermission on loading textures

Started by Roland, March 07, 2012, 10:22:24 AM

Previous topic - Next topic

Roland

Hi,
I'm using Eclipse for packing the files, and the textures seems to be backed when I export the projet as a jar file.

I sign my jar file, plus I have signed the lwjgl_applet.jar file since I read that one needed to be signed. I run my application through the applet loader lwjgl is having, but I get error when I comes to loading textures, getting the message
Access denied  (Java.IO.Filepermission ....)

Doesn anyone know what I'm doing wrong?

Would really appreciate any help since I have been stuck on this for weeks now

EgonOlsen

Have you asked in the lwjgl forums? jPCT only uses the input stream. It's not responsible for any permission problems nor can it do anything about them...

Roland

I changed so it is sending a input stream that is working to the "new Texture(istream), still the same problem.

Has anyone made an applet here and had this problem?

EgonOlsen

Have you tried to sign all your jars instead of just the lwjgl jar.

Roland

got actually another error message without knowing it, but it is only for one png file, will come back if i can't solve it,
thanks