|
-
June 5th, 2012, 03:57 PM
#1
Sign a jar file in JDK 6.0_U32
Hello,
I am trying to sign a jar file in JDK 6 update 32 and i am getting below error:
Exception in thread "main" java.lang.NoClassDefFoundError: sun/security/tools/Ja
rSigner
Caused by: java.lang.ClassNotFoundException: sun.security.tools.JarSigner
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)
Could not find the main class: sun.security.tools.JarSigner. Program will exit.
I could not figure out which jar file to include in the classpath. Can someone suggest the correct way of doing it?
Regards,
Suresh
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|