Enter keystore password:What is your first and last name? [Unknown]: NikeshWhat is the name of your organizational unit? [Unknown]: CybageWhat is the name of your organization? [Unknown]: CybageWhat is the name of your City or Locality? [Unknown]: PuneWhat is the name of your State or Province? [Unknown]: MHWhat is the two-letter country code for this unit? [Unknown]: INIs CN=Nikesh, OU=Cybage, O=Cybage, L=Pune, ST=MH, C=IN correct? [no]: yes

(wait...)

Enter key password for (RETURN if same as keystore password):Re-enter new password:

(press [enter])

4. Export key: keytool -export -alias key -file cert.crt

Enter keystore password: *******Certificate stored in file cert.crt

5. Create JAR: jar cvf applet.jar main.classAdd all classes used in your project by typing the classnames in the same line.