Solved

Moving java app from devt. to prod.

Posted on 1998-11-20
6
142 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
  • 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Java 1603 Error 3 50
recursion example 16 112
Java DateChooser? 3 29
Basic Java Case or If-Else statement... 3 43
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…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…

867 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now