Forums Register Login

can you run J2EE RI with JDK 1.5?

+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
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.
https://coderanch.com/t/161481/java-EJB-SCBCD/certification/AdviceClient-Solution
thanks
+Pie Number of slices to send: Send
J2EE 1.3 garruntee to work fine with J2SE 1.3.
+Pie Number of slices to send: Send
Thanks to all who answered this. I went back to Java 1.4 and can now start the j2ee server!
He's dead Jim. Grab his tricorder. I'll get his wallet and this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1048 times.
Similar Threads
javax.servlet not found
Im getting "requested resource is not available"
j2ee program not recognized
Exception in thread "main" java.lang.NoClassDefFoundError: Test
Can't start the server-----please help!
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 14:52:50.