File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Distributing Application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Distributing Application" Watch "Distributing Application" New topic
Author

Distributing Application

Rob Levo
Ranch Hand

Joined: Oct 01, 2000
Posts: 167
What is the correct procedure for distributing a Java app along with run time environment, etc. Assume user PCs have nothing regarding Java support.
Thanks.
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
There is no "correct" procedure.
There are tools available that will bundle the JRE along with your app code and associated files like properties and a bat file to kick off the application, and create an exe out of the whole mess. then you can put that on a Web page and the user can download the exe and start it, and it will install itself. the bat file to start the application should have the classpath setting stuff in it.

I have seen Installsheild used for this, but there are others out there.
On the other hand you could just jar up your app, and put out instructions on how to download the JRE and your app and let the user do it. Its cheaper, but more difficult for the end user.


"JavaRanch, where the deer and the Certified play" - David O'Meara
Rob Levo
Ranch Hand

Joined: Oct 01, 2000
Posts: 167
Thanks Cindy.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Distributing Application