Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

java 1.3

Status
Not open for further replies.

ruwanban

Programmer
Aug 19, 2002
2
LK
How can i set java path in windows xp
 
OK - no one else has responded to this thread... so in the lieu of the rest I shall try ... but bear in mind I have never used xp and am limited even in 2000 .... (nothing like crap 'ol '98) !

As a background - dunno if you know or not, apologies if blind teaching the preached - paths are set in '98 using environment variables usually set in autoxec.bat - eg :

PATH=C:\java\jdk1.3\bin;C:\java\jdk1.3\lib

and so on.

I remember at the last work I had, they had NT4, and in "Settings/Control Panel" they had some tab which you could set the environment var's - instead of doing it from autoexec.bat.........as far as I can remember this was the same in 2000, and I GUESS xp - but I can't be sure !!!! Thre should be somewhere in the environment settings a "class" or "classpath" setting which you can edit...

Once there set the point to your java_home directory.
HTH
Ben
 
Keep in mind that the PATH to java home's bin directory should be included in the PATH variable while the CLASSPATH variable should be set to wherever you have classes that you want to use.

-gc "I don't look busy because I did it right the first time."
 
1) Right click on "My Computer"

2) Select "Properties"

3) Select the "Advanced" tab

4) Select "Environment Varibles..."

5) Under "System Variables" add your "CLASSPATH" and the directories.

Hope this helps. Mike Wills
IBM iSeries (AS/400) Programmer
[pc2]

Please, if you find my post useful, let me know. [thumbsup2]
 
Thanks every body for helping me,
I've got my Java up and running.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top