CreateProcess error=87, The parameter is incorrect

前端 未结 7 1497
清歌不尽
清歌不尽 2020-12-19 04:57

While building with ant, I am getting the following error:

java.io.IOException: Cannot run program \"D:\\Tools\\Java\\jdk1.6.0_12\\jre\\bin\\java.exe\

7条回答
  •  渐次进展
    2020-12-19 05:13

    I received this error as well, but for different cases than what is listed. I get this when attempting to execute JUnit tests in an Eclipse project whose workspace path is too long; moving the project to a shorter path resolved this issue.

    Cannot run program "C:\Program Files\Java\jdk1.6.0_26\jre\bin\java.exe": (Long Project Path Path)Error: CreateProcess error=87, The parameter is incorrect

提交回复
热议问题