Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

can you run J2EE RI with JDK 1.5?

 
Carol Bloch
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have gone through the first example in HFEJB and got stuck when trying to start J2EE. I get the error "program not recognized as an internal or external command operable program or batch comand"

I have looked through all the posts on setting up the environemental variables and I think they are all correct. I am running windowsXP.

This is a list of my environamental variables:

J2EE_HOME C:\j2sdkee1.3.1

JAVA_HOME C:\Program Files\Java\jdk1.5.0_06

PATH C:\Program Files\Java\jdk1.5.0_06\bin;C:\Tomcat\common\lib\servlet-api.jar;C:\j2sdkee1.3.1\bin

CLASSPATH C:\tomcat\common\lib\servlet-api.jar;c:\j2sdkee1.3.1\lib\j2ee.jar;%J2EE_HOME\bin

Nothing I have tried seems to work. Is there a basic incompatibility with
J2EE 1.3 and JDK 1.5 or windows XP??

Any help would be greatly appreciated.
 
MI Mohammed
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Carol,
I don't know why the J2EE RI server isn't compartable with Java 1.5.
I actually test the server with even 1.6, it just never worked. I think the
best that can work with it is 1.4, but if you are going for the exams,you are
adviced to use 1.3. Because, that what is guarrantied.
So, you can get the 1.4, all the same. If you encounter any problems running
the app, just check this thread.
http://www.coderanch.com/t/161481/java-EJB-SCBCD/certification/AdviceClient-Solution
thanks
 
Hong Anderson
Ranch Hand
Posts: 1936
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
J2EE 1.3 garruntee to work fine with J2SE 1.3.
 
Carol Bloch
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks to all who answered this. I went back to Java 1.4 and can now start the j2ee server!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic