aspose file tools*
The moose likes Beginning Java and the fly likes JRE and java program distribution/please help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "JRE and java program distribution/please help" Watch "JRE and java program distribution/please help" New topic
Author

JRE and java program distribution/please help

Robin Richardson
Ranch Hand

Joined: Mar 01, 2001
Posts: 37
I have a program that I need to send to others in the company where I work. I've heard that the only way someone else can run the program is by having JRE installed on their machines, and that I would have to add that with the program.
I have not been able to find out how to do this and how the end user is going to be able to run the program.
Can anyone help me on this? How do I do this, where can I find the information to do this, etc...?
Thanks
Robin Richardson
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Most computers these days already come with the JRE installed.
However you can get the JRE from Sun and bundle it with your application just to make SURE.
When you start up you application you will need to make sure to specify the classpath that points to this new downloaded JRE.
http://java.sun.com/j2se/1.3/jre/
If you are on a Windows platform you will probably need to create a bat file that holds the commands to invoke the application using the classpath that includes the JRE and your app class files.


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
Don't get me started about those stupid light bulbs.
 
subject: JRE and java program distribution/please help
 
Similar Threads
Installation Query
question
Minimizing a program into the tray bar in windows
how to run java program
Command Line from a jar