"Javac" doesn't work correctly on Windows 10 "Javac" doesn't work correctly on Windows 10 windows windows

"Javac" doesn't work correctly on Windows 10


java is part of the JRE, not the JDK.

You need to add the JDK bin to the system PATH, in

"Control Panel" | System | Advanced | "Environment Variables"


Her's how I configure System variable on Windows 10 :

enter image description here


After adding C:\Program Files\Java\jdk1.8.0_73\bin to the system variables I turned off my command prompt and opened another one. Then it worked.