This is my "yuhuu.jnlp" file:
<?xml version="1.0" encoding="utf-8"?>
<!-- JNLP File for SwingSet2 Demo Application -->
<jnlp
spec="1.5+" codebase="http://yuhuu.no-ip.org:2001/agenziamatr/" href="yuhuu.jnlp">
<information>
<title>Yuhuu Messenger Application</title>
<vendor>Yuhuu, Braghetto.it</vendor>
<homepage href="docs/help.html"/>
<description>Yuhuu Messenger Application</description>
<description kind="short">La versione JWS di Yuhuu</description>
<icon href="images/sposi.jpg"/>
<offline-allowed/>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.4.2+" java-vm-args="-esa -Xnoclassgc"/>
<jar href="yuhuu.jar"/>
</resources>
<application-desc main-class="agenziamatr.URLClientBootstrap"/>
</jnlp>
The structure of my "yuhuu.jar":
yuhuu.jar
--> META-INF
--> MANIFEST.MF
--> agenziamatr
--> URLClientBootstrap.class
--> images
--> sposi.jpg
--> policy
--> policy
Inside the .jnlp file, using
<security>
<all-permissions/>
</security>
i've sign the JAR files with a certificat, named "myKeystore", and I've put it into the codebase.
When I try to launch the application, after accepting the sign, I've got an exception and the application need a permission for the runtime.
Why? I've specified "all permission" into the jnlp file..