Javac is not found

前端 未结 7 1985

I\'m running Windows 8 and I can not get javac to work.

I have set my PATH in environmental variables to

C:\\Program Files (x86)\\Java\\jdk1.7.0_17\\

7条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-25 14:33

    1. Go to my computer;
    2. Right click properties;
    3. Go to advanced system settings;
    4. Go to environment variables;
    5. In user variables for user click on new(top new button, not on system variables);
    6. Set variable name as: Path
    7. Set the value of that variable to: C:\Program Files\Java\jdk1.7.0_76\bin
    8. Click ok;
    9. Click ok;
    10. Click ok.

    Now you're set. Type javac in cmd. All javac options will be displayed.

提交回复
热议问题