Moving java app from devt. to prod.

Posted on 1998-11-20
Last Modified: 2010-03-30
I have developed a simple java application under the
development environment (WIN NT).
What steps do I have to go through to install this application in another isolated computer ?
Is it just a matter of moving all application.class
files to a directory on the new computer?
How would I ensure the JVM is set up to run ?

Question by:kkandasa
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2

Accepted Solution

msmolyak earned 20 total points
ID: 1227959
You either have to package and distribute a JVM (probably Java Runtime Environment from Javasoft) with your application, or tell the end-user that they are responsible for doing that, or, probably the best option, use a Java installer such as InstallShield for Java (there exists another one whose name escapes me) which takes care of finding the JVM on a target computer, installing one is it is not found, installing your Java application and setting the CLASSPATH and PATH for you.  Another route is to develop an applet instead of an application in which case the browser will supply the JVM. This approach may not suit you and it has drawbacks of its own such as incompatibilities of browser's JVMs (Java Plug-iN can fix that problem though).

Hope this helps.

Expert Comment

ID: 1227960
If your app is big and needs lot of configuration, you can go for a free java installer available in freeware and use it for packaging your app. Or else you can go for InstallShield for Java for having a commercial outlook of your app.


Author Comment

ID: 1227961
I have jre115.exe for WinNT. Can I just install this on the prod. machine and set up the CLASSPATH ? If not, do you have the
URL for the free java installer to try out ?

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Expert Comment

ID: 1227962
You can certainly install it yourself and set the CLASSPATH using the System icon on the Control Panel.

Expert Comment

ID: 1227963
here is one such free installer

Expert Comment

ID: 1227964 has a Java installer InstallAnywhere.

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Suggested Courses

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question