Solved

Moving java app from devt. to prod.

Posted on 1998-11-20
6
151 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
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
V.simple question about Android packages and libraries 1 30
Adding multiple JVM environments to RedHat 6 7 49
Chrome and Firefox Java 5 52
printf performancy 11 73
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
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…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …

821 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