posted 25 years ago
Well, the answer is yes. Now you are going to ask me how, so I will have to investigate.
As a matter of fact, in our company we are working on setting a new standard in this area. Because some users have multiple java applications, written in varying versions of java, we have decided that it would be best in ALL cases to bundle the JRE with the application to prevent being forced into upgrades etc. Yes, this causes a waste of some hard drive space (but not much). Yes, this is a platform dependant solution, but our customers use a common set-up, with staged and scheduled operating system upgrades, so it is not so bad.
This is being done by creating an installation .exe which loads both the JRE and the application to an isolated directory structure. Then an icon is loaded which will execute a .bat file dynamically including the directory structure in the classpath and invoking the application.
The "download and installation" stuff is kept on a web page, allowing the users to install it at their convenience.
[This message has been edited by Cindy Glass (edited January 17, 2001).]
"JavaRanch, where the deer and the Certified play" - David O'Meara