• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

can you run J2EE RI with JDK 1.5?

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
https://coderanch.com/t/161481/java-EJB-SCBCD/certification/AdviceClient-Solution
thanks
 
Ranch Hand
Posts: 1936
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic