Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

setting the path in XP

 
Kay Wind
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 9059
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)
 
Kay Wind
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Maureen!!
Your suggestions made all the difference! I'm
up and running on XP!
Kay Wind
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic