• 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

UNABLE TO SET THE PATH

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello everybody,
I have just clearesd SCJP1.4 with 91% marks. Kathy's book is really great. It is the best technical book, I have ever read.
Now, I have bought Heasd First EJB to repeat same level of success. But, I am stuck. Please help me. I am unable to set the environment variable. I am using windows xp.

When I am doing the following, the command j2ee is not working.
CLASSPATH
c:\j2sdkee1.3.1\lib\j2ee.jar

J2EE_HOME
c:\j2sdkee1.3.1

JAVA_HOME
c:\j2sdk1.4.2_07

PATH
c:\j2sdk1.4.2_07\bin; c:\j2ee\bin;

When I am doing the following, the command javac is not working.
CLASSPATH
c:\j2sdkee1.3.1\lib\j2ee.jar

J2EE_HOME
c:\j2sdkee1.3.1

JAVA_HOME
c:\j2sdk1.4.2_07

PATH
c:\j2ee\bin; c:\j2sdk1.4.2_07\bin;

Is there any special way to set the PATH variable? I am very concerned. I really need one of your helping hand. Thank you.

[Val removed a politically incorrect statement]
[ July 07, 2005: Message edited by: Valentin Crettaz ]
 
Ranch Hand
Posts: 1683
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Open a command window, enter path and tell us what is displayed.
 
sourav das
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please be slightly more specific.
 
Bartender
Posts: 3903
43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
type in Windows' command prompt:

set path
set java_home
set classpath
....

to see environment variables

regards,
MZ
 
sourav das
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you very much for the response. Here it is, as you had asked, all the result of typing command at the command prompt:

CLASSPATH=c:\j2sdkee1.3.1\lib\j2ee.jar

J2EE_HOME=c:\j2sdkee1.3.1

JAVA_HOME=c:\j2sdk1.4.2_07

Path=c:\WINDOWS\system32;c:\WINDOWS;c:\WINDOWS\system32\Wbem;c:\j2sdk1.4.2_07\bin;c:\j2sdkee1.3.1\bin

PATHTEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH

Now, javac command is working. But, j2ee command is not working.

SUN is providing such a wonderful creation like java ansd j2ee. Why don't they create a patch or something similar, that will set up the environment variable automatically?
 
Author & Gold Digger
Posts: 7617
6
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
scjp das,

You have already been warned in another thread that your display name does not satisfy our naming policy.

Please read it and adjust your display name to conform to it or you might run the risk of being locked out.

Thank you for your comprehension
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I also have the same problem , i.e., j2ee command is not working.


Regards

Pasha
SCJP 1.4
 
reply
    Bookmark Topic Watch Topic
  • New Topic