• 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

Head First EJB - first chapter run j2ee

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am trying to start the server and type the following commands (page 31):

cd projects/advice

j2ee -verbose


but I always got the following error message:
Error: Set J2EE_HOME to the path of a valid j2sdkee.

I have created a J2EE_HOME in Environment Variable, do I need to add something to J2EE_HOME?

help

JJ
 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by John Jyang:
I am trying to start the server and type the following commands (page 31):

cd projects/advice

j2ee -verbose


but I always got the following error message:
Error: Set J2EE_HOME to the path of a valid j2sdkee.
I have created a J2EE_HOME in Environment Variable, do I need to add something to J2EE_HOME?

help

JJ



Hi John
I believe you need to set the path too.
Here is my environment variable setting:
-----------------------------------
J2EE_HOME

C:\j2sdkee1.3.1
----------------------------------------
PATH
C:\j2sdkee1.3.1\bin;C:\j2sdkee1.3.1\lib
------------------------------------------

After commit the setting, close the Dos window and open it up again before trying j2ee -verbose command.

Quang
 
reply
    Bookmark Topic Watch Topic
  • New Topic