I'm trying sign jar for distribution of my java project via JWS, what i have done is
- I have packed my class files into a jar
- created password using keytool - keytool -genkey -keystore xxx -alias xxx
- sign jar using jarsigner -keystore xxx Test.jar xxx - command
but the error I've got is No class found exception . Sun.security.tools.jarsigner.
I'm using JDk 1.6.0.21. I tried unpacking Tools.jar and could find the jarsigner class.