CreateProcess error=87, The parameter is incorrect

前端 未结 7 1473
清歌不尽
清歌不尽 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:17

    I faced the same problem when launching my GWT application in IBM RAD.

    I tried removing duplicate jars, but it didn't solved the issue.

    I have changed JRE in the project build path to point to the one which is installed in my machine (C://Program Files->java->...). Earlier it was pointing to the JRE in IBM folder(C://Program Files->IBM->SDP->JDK....)

    It worked for me.

提交回复
热议问题