aspose file tools*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes UNABLE TO SET THE PATH Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "UNABLE TO SET THE PATH" Watch "UNABLE TO SET THE PATH" New topic
Author

UNABLE TO SET THE PATH

sourav das
Greenhorn

Joined: May 29, 2005
Posts: 14
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 ]
Roger Chung-Wee
Ranch Hand

Joined: Sep 29, 2002
Posts: 1683
Open a command window, enter path and tell us what is displayed.


SCJP 1.4, SCWCD 1.3, SCBCD 1.3
sourav das
Greenhorn

Joined: May 29, 2005
Posts: 14
Please be slightly more specific.
Mikalai Zaikin
Ranch Hand

Joined: Jun 04, 2002
Posts: 3212
    
    6
type in Windows' command prompt:

set path
set java_home
set classpath
....

to see environment variables

regards,
MZ


Free SCDJWS 5.0 Study Guide - SCDJWS 5.0 Quiz (How to get SCDJWS 5.0 Quiz)
Java Platform, Enterprise Edition 6 Web Services Developer Certified Expert Exam Study Guide and Quiz
sourav das
Greenhorn

Joined: May 29, 2005
Posts: 14
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?
Valentin Crettaz
Gold Digger
Sheriff

Joined: Aug 26, 2001
Posts: 7610
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


SCJP 5, SCJD, SCBCD, SCWCD, SCDJWS, IBM XML
[Blog] [Blogroll] [My Reviews] My Linked In
Pasha
Greenhorn

Joined: Jul 01, 2005
Posts: 7
Hi All,

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


Regards

Pasha
SCJP 1.4
 
Consider Paul's rocket mass heater.
 
subject: UNABLE TO SET THE PATH