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\
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.