aspose file tools*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes can you run J2EE RI with JDK 1.5? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "can you run J2EE RI with JDK 1.5?" Watch "can you run J2EE RI with JDK 1.5?" New topic
Author

can you run J2EE RI with JDK 1.5?

Carol Bloch
Greenhorn

Joined: Nov 21, 2005
Posts: 18
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

Joined: Feb 16, 2005
Posts: 146
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


SCJA(Beta) SCJP 1.4 SCWCD 1.4 SCBCD 1.3 SCBCD 5.0 beta <br />The more practice we get, the better we are at the exams and in life in general. Pls join me at My DEN.
Hong Anderson
Ranch Hand

Joined: Jul 05, 2005
Posts: 1936
J2EE 1.3 garruntee to work fine with J2SE 1.3.


SCJA 1.0, SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCJP 5.0, SCEA 5, SCBCD 5; OCUP - Fundamental, Intermediate and Advanced; IBM Certified Solution Designer - OOAD, vUML 2; SpringSource Certified Spring Professional
Carol Bloch
Greenhorn

Joined: Nov 21, 2005
Posts: 18
Thanks to all who answered this. I went back to Java 1.4 and can now start the j2ee server!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: can you run J2EE RI with JDK 1.5?
 
Similar Threads
Im getting "requested resource is not available"
j2ee program not recognized
javax.servlet not found
Can't start the server-----please help!
Exception in thread "main" java.lang.NoClassDefFoundError: Test