wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes setting the path in XP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "setting the path in XP" Watch "setting the path in XP" New topic
Author

setting the path in XP

Kay Wind
Greenhorn

Joined: Jan 25, 2002
Posts: 6
Greetings! This is my second post on the same topic - setting the path in XP. I've downloaded the latest from sun and found the place to edit the path variable, without success.
I can't compile or run programs.
Could someone who has been through setting up Java on XP please walk me through this process.
Thanks, Kay
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9043
    
  10
Environment variables are set in XP the same way they are set in Win2K. Not like Win9x.

Right click on My Computer, choose properties. Choose the Advanced tab and then click the Environment Variables button.

You can ADD, EDIT, MODIFY global and local variables. You will have to add your CLASSPATH and edit your PATH. I suggest you modify the global variables.

PATH=%PATH%;C:\jdk1.3.0_02\bin;C:\jdk1.3.0_02\jre\bin (or whichever jdk you got and the path to where it's located)

CLASSPATH=C:\java (or the subdir where you will be keeping your compiled classes)


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Kay Wind
Greenhorn

Joined: Jan 25, 2002
Posts: 6
Thanks Maureen!!
Your suggestions made all the difference! I'm
up and running on XP!
Kay Wind
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: setting the path in XP
 
Similar Threads
path and classpath
Setting path variable in xp Home
setting up jdk to run through command prompt
my operating system and ram
Setting classpath ...urgent