• 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
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

error starting j2ee server

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I just started reading Head First EJB and got the following error when trying to start the server... (script "j2ee -verbose")
"ERROR: Set J2EE_HOME before running this script"
I set the JAVA_HOME variable in the file userconfig.bat to...
...set JAVA_HOME="c:\j2sdk1.4.2_02"
Do I need to use an older version (JDK1.2)? I tried removing the quotes as well but that didn't work either.
Could answer this or redirect to the appropriate posting?
Thanks!
 
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Think you need to set another environment J2EE_HOME in addition to your JAVA_HOME.
Which version of J2EE server you are running?
If it is 1.3, then using JDK 1.3 is fine.
Cheers.

Han Ming
 
Vickram Ging
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i am using j2ee 1.3 since it would be easiest for me to try the examples in the book. i guess i'll try 1.3jdk instead of 1.4 to see if that helps.
 
Vickram Ging
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks for your reply. i missed out the j2ee_home and also had java_home variable set in two places which created an error after getting the first part done.
i'm all set
 
reply
    Bookmark Topic Watch Topic
  • New Topic