How do you programmatically sign jar files in Java?
问题 Has anyone done this before? The only reference I have found on google has been: http://onjava.com/onjava/2001/04/12/signing_jar.html which still uses sun.* classes that will cause issues... Found this as well, but does not work with java16: https://svn.cs.cf.ac.uk/projects/whip/trunk/whip-core/src/main/java/org/whipplugin/data/bundle/JarSigner15.java 回答1: To address a sudden change of security restrictions in WebStart applications in Java 7u45 we have created a simple signed jar file