sign a jar file using keytool.exe and jarsigner.exe
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Debin_Gao
Posted On:   Tuesday, May 28, 2002 09:42 AM

I am trying to sign a jar file.


Firstly, I use this command to create the keystore: keytool keytool -genkey -alias abc -keypass abcpasswd


Then, I use this command to sign it: jarsigner aaa.jar abc


However, the following error occurs: Exception in thread "main" java.lang.noClassDefFoundError: sun/security/tools/JarSigner


Can anyone point out my error and give some suggestions? Thanks.

About | Sitemap | Contact