I'm getting this issue when trying to Make my java project. I just uninstalled my 64 bit jdk for various reasons and installed the 32 bit one. I'm getting the error:
Cannot run program "C:\Program Files\Java\jdk1.7.0_51\bin\java" (in directory "C:\Users\$username.IntelliJIdea13\system\compile-server"): CreateProcess error=2, The system cannot find the file specified
How do I get the compiler to use the jdk in the C:\Program Files (x86) folder which I now have?
From the menu: File
-> Project Structure...
.
On the left, below "Platform Settings", you have "SDKs": click on it; you can add your new JDK here.
Always in the same window, below "Project Settings", select "Project": you have the option to select the JDK which you just added.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With