aspose file tools*
The moose likes Beginning Java and the fly likes Path/enviromental var Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Path/enviromental var" Watch "Path/enviromental var" New topic
Author

Path/enviromental var

matt thomas
Greenhorn

Joined: Jul 07, 2003
Posts: 1
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

Joined: May 27, 2003
Posts: 91
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

Joined: Dec 10, 2001
Posts: 7023
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 ]

    [How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: Path/enviromental var
     
    Similar Threads
    creating a package
    Setting Up Ant with enviromental variables?
    Unable to import
    Setting Up Ant with enviromental variables?
    Hibernate Installation