Solved

Moving java app from devt. to prod.

Posted on 1998-11-20
6
167 Views
Last Modified: 2010-03-30
Hi,
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 ?

Thanks
0
Comment
Question by:kkandasa
[X]
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
6 Comments
 
LVL 5

Accepted Solution

by:
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.
0
 
LVL 4

Expert Comment

by:evijay
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.


0
 

Author Comment

by:kkandasa
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 ?

Thanks.
0
SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

 
LVL 5

Expert Comment

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

Expert Comment

by:evijay
ID: 1227963
here is one such free installer

http://www.alphaworks.ibm.com/formula/beanbag
0
 
LVL 5

Expert Comment

by:msmolyak
ID: 1227964
www.ZeroG.com has a Java installer InstallAnywhere.
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This video teaches viewers about errors in exception handling.

626 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