Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

access denied java.lang.RuntimePermission exitVM.0

843802Nov 20 2008 — edited Nov 28 2008
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..
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 26 2008
Added on Nov 20 2008
8 comments
2,681 views