CreateProcess error=87, The parameter is incorrect

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

    My scenario will probably be one no one else will find. I was getting the error in IntelliJ.

    After spending a long time on the web I found that I had a = in my Environment Variables, although none was set. This was the residue of a ENV Variable I had set previously but deleted. For some reason this non-editable field contained that = and the only way I could remove it was by adding a dummy ENV property and removing it again.

    After I removed it, it worked.

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