一、愉快身心术
keytool -genkey -keyalg rsa -alias yourkeyFollow the instructions and type in all needed information.
keytool -export -alias yourkey -file yourcert.crt
javac yourapplet.java jar cvf yourapplet.jar yourapplet.class jarsigner yourapplet.jar yourkey