| Author |
Loading applet from jnlp locally
|
Alexandru Gifei
Greenhorn
Joined: May 19, 2012
Posts: 18
|
|
I have a problem launching a Java Applet from html page. The html page deploys the jnlp file. When i launch the jnlp alone, the applet loads fine, but when i launch the jnlp within html page i get this Security Exception.
Found unsigned entry in resource file: file:/E:/Dropbox/workspace/Java/Hearts/bin/Hearts.jar
I have added the following lines to the C:\Program Files\Java\jre7\lib\security\java.policy file because in my applet i need read permissions, i need to read from a xml file to parse and load png's :
The contents of the jnlp file:
The contents of the HTML file:
The html file is local.
|
 |
Martin Vajsar
Bartender
Joined: Aug 22, 2010
Posts: 2318
|
|
|
An applet which wants to access local filesystem needs to be signed. The exception you're getting indicates you haven't signed your applet. See also this FAQ.
|
 |
Alexandru Gifei
Greenhorn
Joined: May 19, 2012
Posts: 18
|
|
|
i followed the steps here http://support.sas.com/rnd/appdev/V30/tech/signing/RSASigning.htm and still nothing... i need to fix this error in a couple of days ...
|
 |
Martin Vajsar
Bartender
Joined: Aug 22, 2010
Posts: 2318
|
|
What does "still nothing" mean? Do you get the same exception? (See TellTheDetails ⇐ click)
If that is the case, can you verify the JAR is signed?
Where did you get your signing certificate from?
(... and welcome to the Ranch! )
|
 |
 |
|
|
subject: Loading applet from jnlp locally
|
|
|