Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Multiple SDK's and JVM's

 
Steve Gibson
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure if this is the right place to ask this question but....

I wrote a standalone app for my company in Java SE 1.4, which I need to continue to support.

I have been assigned to the team the supports a intranet touchscreen app. that uses JRun4 and Java EE 1.3.

My question is, can I install the Java EE 1.3 sdk on my workstation (win XP sp2) along side of Java SE 1.4.

Also will I need the 1.3 jvm?

Any help or guidance would be appreciated.
 
Layne Lund
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe that you can do this. If you read the instructions for installing J2EE, you will see that it requires J2SE. This is because J2EE does NOT include the JRE and JVM. It only contains the classes from the J2EE API. This means that you won't have two JVMs as the subject of this thread suggests. As far as I know, previous versions of J2EE will work with newer versions of J2SE just fine. Hopefully someone else here will correct me if I'm wrong.

Layne
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15272
37
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The J2EE SDK does not include a JVM. You need to have J2SE installed first, which includes the JVM, and install J2EE on top of that.

Note that the J2EE and J2SE version numbers are not synchronized. So J2EE version 1.3 does not mean you need to use J2SE version 1.3. See the documentation of your J2EE SDK version, it mentions which J2SE version you need for that particular J2EE version.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic