Distributing Java Swing Application

Soon I need to distribute Java Swing Application. As part of this process here is my notes.

For distributor
Step 1: Identify least version required for the application.

Step 2: Compile and build self executable Jar. (Do code obfuscation if required.)
JSmooth is good to convert jar to exe. http://jsmooth.sourceforge.net/

Step 3: Distribute executable Jar.
1. Give Jar, so user can run in system.
2. Give source, so user can build his own jar.
3. Provide Java Webstart using JNLP. (We need to have server instance to run this.)
4. Convert jar to .exe and provide. (still issues with viruses)

For Users:

Step 1: Check java version in system.

Step 2: If system dont have required version, update to required version using sun site.

Step 3: Double Click on Jar and start using application.

-o-
Links:
What version of Java we are using: http://www.javatester.org/version.html

-o-

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s