Java command works but javac command doesn't

后端 未结 4 1577
借酒劲吻你
借酒劲吻你 2021-01-29 03:37

I just install jdk and jre version 8 In windows. Environment variable already set. I try run "java -version" in cmd and it shows the version of java installed. But whe

4条回答
  •  广开言路
    2021-01-29 04:09

    if the above text is correct, you have written

    "C:\Program File\Java\jdk1.8.0_60\bin;C:\Program File\Java\jdk1.8.0_60\bin\;"
    

    it must be "Program Files"

    C:\Program Files\Java\jdk1.8.0_60\bin;C:\Program Files\Java\jdk1.8.0_60\bin\
    

提交回复
热议问题