CreateProcess error=87, The parameter is incorrect

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

    I'm encountering the same issue(at least the error and description). All SO search and google search points to the bug stated at https://bugs.eclipse.org/bugs/show_bug.cgi?id=327193 and http://www.eclipse.org/forums/index.php?t=rview&goto=494195&th=156565.

    But when I try a simple change to launch the application, it works.

    Previously, I'm using the way of "right click -> debug -> Java application" to start the application, and got the error.

    I changed the way to manually add a debug configuration in menu "Debug -> Configurations", specify the class you want. Then click 'Debug' in the debug configurations dialog. It works...

    Note that I'm using a customized IDE based on Eclipse 3.6.2.

提交回复
热议问题