- Download Java JDK.
- Go to the JDK bin folder with command prompt with full administrator access/permission.
- Create a certificate that expires 50 years later: keytool -genkey -alias sakra -validity 18250
Give a password and some information. - Run: jarsigner jarname
.jar sakra
It prompts the password you gave for the certificate. It put my jar file to the bin folder! It is easier. - That's all, it is signed.
No comments:
Post a Comment