Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Moving java app from devt. to prod.

Posted on 1998-11-20
6
Medium Priority
?
171 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 40 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
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…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

719 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