Error:java: Cannot run program CreateProcess error=2, The system cannot find the file specified

前端 未结 1 1153
遇见更好的自我
遇见更好的自我 2021-02-19 02:41
Error:java: Cannot run program \"C:/Program Files/Java/jdk1.7.0_45/bin/java\" (in directory \"C:\\Users\\navya.chamidisetty\\.IntelliJIdea2017.3\\system\\compile-server\         


        
1条回答
  •  醉梦人生
    2021-02-19 03:02

    IDEA doesn't necessary use JAVA_HOME variable. The project SDK (JDK in your case) is setup in the project settings: File -> Project Structure, Project SDK and set up the proper path there.

    0 讨论(0)
提交回复
热议问题