• Post Reply Bookmark Topic Watch Topic
  • New Topic

error starting j2ee server

 
Vickram Ging
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • 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!
 
HanMing Low
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!