This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi All, I have following question: If client doesn't have Java runtime Environment or JDK or any other source to run java application(NOT APPLET) Can I make exe file which will download & run Java application on client machine? Please let me know Thanks Angela
Actually, even applet's require a JVM, its just that the JVM is included with the web browser. AFAIK, your options are: 1) Compile the Java source to native code. Then its a regular executable, but it won't be portable to different chip/OS combos. (This may or may not be an issue.) 2) Create an installer executable and include a JVM in the installation.
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