Setting Path Environment Variable Does Not Work

Discussion in 'Windows 7 Help and Support' started by Socar, Sep 20, 2009.

  1. Socar

    Socar New Member

    Joined:
    Sep 20, 2009
    Messages:
    4
    Likes Received:
    0
    I can add to the System Variable “Pathâ€Â￾, however it does not seem to have any effect on the command line. I have added “C:\Program Files (x86)\Java\jdk1.6.0_05\binâ€Â￾ to the system variables however running I still get the following error:
    ‘java’ is not recognized as an internal or external command, operable program or batch file.
     
    #1 Socar, Sep 20, 2009
    Last edited: Sep 20, 2009
  2. gavin19

    gavin19 New Member

    Joined:
    Aug 8, 2009
    Messages:
    442
    Likes Received:
    11
    You need it to be 'C:\Program Files (x86)\Java\jdk1.6.0_05\bin\', with the extra trailing backslash.

    Hope that helped :)
     
    Socar and (deleted member) like this.
  3. Socar

    Socar New Member

    Joined:
    Sep 20, 2009
    Messages:
    4
    Likes Received:
    0
    Thanks, That Fixed it.
     
  4. andrewraus

    andrewraus New Member

    Joined:
    Jun 24, 2010
    Messages:
    2
    Likes Received:
    0
    Hi,

    I've set c:\itools\ in my path environment variable. One exe file in that dir is found OK & executes, another exe file is not found "fatal: Can not find file"

    This is on a 64 bit win 7 machine. If I use PowerShell instead of the dos prompt, both exe files are found OK. On another Win 7 (32 bit) machine both files are also found OK.

    Any thoughts?

    Thanks Andrew
     

Share This Page

Loading...