1. 创建 keystore: keytool -genkey -alias mykey -keystore mystore 2. 签名: jarsigner -keystore mystore xxx.jar mykey