vicker313 tech blog

October 27, 2013

Create Java Applet Jar

Filed under: Java — vicker313 @ 8:18 pm

To create Java Applet Jar, there are 2 steps need to be taken:

  1. Compile the Java files into class files and create a Jar file from the class files:
    1. javac <java files>
    2. jar cvf <applet.jar> <class files>
  2. Create a keystore and sign the created applet jar file:
    1. keytool -genkey -keystore <keystore> -alias <alias>
    2. keytool -selfcert -keystore <keystore> -alias <alias>
    3. jarsigner -keystore <keystore> <jar file> <alias>

Now you can deploy the Jar file as Applet.


Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Create a free website or blog at

%d bloggers like this: