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
posted 14 years ago
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