File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Packaging a Java Application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Packaging a Java Application" Watch "Packaging a Java Application" New topic

Packaging a Java Application

Rick Portugal
Ranch Hand

Joined: Dec 17, 2002
Posts: 243
What is the best way to package a software application written in Java? If I were to write an application and sell it, how would I go about getting it on to the customer's PC? How do small software companies do that?
Is there something like Installshield that is open source? Would I package up the entire JRE along with the application? Do small software companies generally use Swing to develop their applications?
Thanks for the help!

Michael Morris
Ranch Hand

Joined: Jan 30, 2002
Posts: 3451
It's called WebStart. You can learn about it here. JavaRanch has a forum called JNLP and WebStart also.

Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
Nehul NN
Ranch Hand

Joined: Nov 05, 2003
Posts: 45
Java Webstart is good option if you want software update transparent to end user. You can bundle your entire application in war format & post on your server directory. Your end user has installed Java Webstart & point to server directory from webstart itself. This way you avoid creating CD or uploading new version on FTP side or any other means (email) to your client. But it depends on requirement & environment. It works great for intranet or small scale client. (It is mainly for java application)
Hope this helps.
Nathaniel Stoddard
Ranch Hand

Joined: May 29, 2003
Posts: 1258
If you wanted a traditional installation program like anything you would pick up at some electronics boutique (ew), you can start by searching for ZeroG (they offer a freebie version of an installation program) ...
Um, their competition is InstallAnywhere (I forget the company), but that one's all commercial.
I don't know if there are any decent open-source, or at least free, installation programs for Java. I certainly haven't been able to find any that are adequate and pleasing on the eye.

Adrian Yan
Ranch Hand

Joined: Oct 02, 2000
Posts: 688
Yes, the open source one is called IzPack. I used it for awhile for internal projects. Link: IzPack
I agree. Here's the link:
subject: Packaging a Java Application
It's not a secret anymore!