Saturday, 15 August 2015

java - JarSigner Class not found exception -



java - JarSigner Class not found exception -

i'm trying sign jar distribution of java project via jws, have done

i have packed class files jar created password using keytool - keytool -genkey -keystore xxx -alias xxx sign jar using jarsigner -keystore xxx test.jar xxx - command

but error i've got no class found exception . sun.security.tools.jarsigner.

i'm using jdk 1.6.0.21. tried unpacking tools.jar , find jarsigner class.

you're running 'java' jre not jdk. jre doesn't contain 'jarsigner' tool.

java jar java-web-start jnlp jarsigner

No comments:

Post a Comment