wood burning stoves 2.0*
The moose likes Java in General and the fly likes security exception while executing jar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "security exception while executing jar" Watch "security exception while executing jar" New topic
Author

security exception while executing jar

Vikas Sahu
Greenhorn

Joined: Mar 07, 2003
Posts: 29
java -jar work1and2.jar
Exception in thread "main" java.lang.SecurityException: no manifiest section for
signature file entry javax/help/resources/Constants_zh.class
at sun.security.util.SignatureFileVerifier.verifySection(Unknown Source)

at sun.security.util.SignatureFileVerifier.processImpl(Unknown Source)
at sun.security.util.SignatureFileVerifier.process(Unknown Source)
at java.util.jar.JarVerifier.processEntry(Unknown Source)
at java.util.jar.JarVerifier.update(Unknown Source)
at java.util.jar.JarFile.initializeVerifier(Unknown Source)
at java.util.jar.JarFile.getInputStream(Unknown Source)
at sun.misc.URLClassPath$JarLoader$1.getInputStream(Unknown Source)
at sun.misc.Resource.cachedInputStream(Unknown Source)
at sun.misc.Resource.getByteBuffer(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)


Regards -<br />Vikas Kumar Sahu
Peter Chase
Ranch Hand

Joined: Oct 30, 2001
Posts: 1970
Have you:
  • Added files to a Jar that came signed from somewhere.
  • Removed files from a Jar that came signed from somewhere.
  • Constructed a Jar from the contents of other Jars, some of which were signed.

  • ?
    [ October 18, 2004: Message edited by: Peter Chase ]

    Betty Rubble? Well, I would go with Betty... but I'd be thinking of Wilma.
     
     
    subject: security exception while executing jar
     
    Similar Threads
    cannot find main class.program will exit. error in jar file creation
    while running junit it is throwing java.lang.Unsupported Class Version Error
    Signed Jars and HTTPS
    class not found exception
    Null pointer exception in HQL using parameter