IOException: Cannot run program “javac”: CreateProcess error=2, The system cannot find the file specified

后端 未结 2 892
有刺的猬
有刺的猬 2021-01-04 08:18

I got the error \"IOException: Cannot run program \"javac\": CreateProcess error=2, The system cannot find the file specified\" while running my scala project in play 2. why

2条回答
  •  说谎
    说谎 (楼主)
    2021-01-04 08:43

    Check that you have the environment variable JAVA_HOME defined and set to the root directory of your JDK (not just a JRE, which doesn't include javac)

提交回复
热议问题