Meaningless Drivel is fun!*
The moose likes Servlets and the fly likes applications Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "applications" Watch "applications" New topic
Author

applications

Divyajot Ahluwalia
Ranch Hand

Joined: Nov 03, 2000
Posts: 46
hi,
how can we pack up a jar application so that it can be downloaded on the net and then installed on the clients machine even if he does not have JDK loaded???
Thanks
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
If you need to install a complete Java runtime as well as your application you have three basic choices:
1. Provide a collection of files (in a zip or tar, for example) including the JRE installer and your application, together with manual instructions ob how to install the JRE if not already present.
2. As 1, but build your own "install" program which performs the steps in the manual installation instructions automatically.
3. Use a third-party installer such as InstallAnywhere from Zero G software which can manage Java Runtime installation as well as your application.
Of these choices, number one should only be used if your users really know what they are doing; number two can work if installation is really simple, but you will need to keep maintaining the installation program as well as your aplication; number three can cost extra money, but is a very powerful and useful solution.


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
 
wood burning stoves
 
subject: applications
 
Similar Threads
Can the color for the disabled item be changed
WA #1.....word association
Private methods
URGENT - NEED HELP - Block Code
error in Marcus Green 2.