Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Path/enviromental var

 
matt thomas
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how do I set the enviromental path on WIN 2000 or XP.
Comp Properties envi. var. is edited to (hard drive): (C:\jdk 1.2.1\bin\) but I get no response for compiling.
 
Susilo Saja
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
did you use PATH as the variable? after you update an environment variable, you have to use a new console for the variable to take effect. Have you done that?
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch, matt!
how do I set the enviromental path on WIN 2000 or XP on How to Set the Classpath
From our Java Beginners FAQ Wiki:
  • Open the System Properties window (by right-clicking on My Computer and selecting Properties, or through the Control Panel - Start -> Control Panel -> System).
  • On the Advanced tab, click the Environment Variables button.
  • On the Environment Variables windows, if a CLASSPATH variable is already defined, then select it and click Edit. If one is not defined, then click the New button.
  • On the User Variable window, the variable name should be CLASSPATH. Set the value as appropriate. See the description of the value at the top of this page.
  • Note that different class file location values should be seperated with a semicolon on a Windows machine (not with a colon as is used with Linux).

  • Note that any console open before the setting of the CLASSPATH environment variable will still be using any old value, if one existed. You don't have to restart the computer, just open a new console window.
    Any luck?
    [ July 08, 2003: Message edited by: Dirk Schreckmann ]
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic