`javac.exe` not found in the `jdk\bin`

I have downloaded same file and changed install path assuming you also did it.

Same thing happened. Java installer installed a jre under the path i have choosen but also installed a jdk under C:\Program Files\Java\jdk1.8.0_72. Please check that.

I do not know why installer behaves like that but i think you can find javac under C:\Program Files\Java\jdk1.8.0_72\bin


It is inside bin directory under your C:\Java\jdk1.8.0_72. Now you need to update your Environment variables and append C:\Java\jdk1.8.0_72\bin to the Path variable after semi colon. Important: do not delete the existing Path variable, just append C:\Java\jdk1.8.0_72

Now reopen the command prompt and type javac.

Edit: Could it be that when installer asked you where you want the JRE installed you pointed to the same dir where you told the installer to put JDK? In that case the installer will overwrite the content of bin of JDK by the content of bin of JRE.


I have had the same problem. However I realized that I did not install the java jdk itself and so, I went to this link and downloaded the windows x64 version and just followed suit.

It worked. May be you can uninstall the java jdk and do it afresh.