Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 204
  • Last Modified:

Can J2EE version 1.3 and 1.4 exist on same machine?

Is it possible to install J2EE ver 1.3 and ver 1.4 on the same pc and be able to choose which version application server, etc. to run?  If possible, is there something I should be aware of?  

I would need this b/c the Sun website has different tutorial packages for different versions of J2EE.

Thanks.
0
skip1000
Asked:
skip1000
1 Solution
 
ronan_40060Commented:
Hi

I dont think J2EE ver 1.3 and 1.4 co exisit on the same PC .
Its better that you install the latest one
Ronan
0
 
JugglerWCommented:
If installed in different directories all versions of Java sholud easily coexist.
You only should be aware, that you cannot use the java command to start a JVM but you have to give the full path to the VM. Also if there are any environemnt vars like JAVAHOME or CLASSPATH are set they should be change accord. before starting the VM. This could be easily achieved using an batch file or shell script to start the VM.
If your app depends on a certain version of the Java brower plugin (to run an applet) you must also (de)active the correct versions.

For the app servers look at their startup scripts how they start the JVM and adapt if necc.

Hope this helps.
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now