Joseph hooper
Joseph hooper

Reputation: 1047

Javac is not recognized. (Already set path)

guys, I can't compile or run any of my programs in the command line. I set the location of my java.exe in paths but that did nothing. Any other fixes?

My path looks like this:

C:\Program Files (x86)\Java\jre1.8.0_40\bin;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\ATI.ACE\Core-Static;D:\bin;D:\QuickTime\QTSystem\;D:\Python;D:\Python\Lib;D:\Python\DLLs;D:\Python\Lib\lib-tk;

Upvotes: 0

Views: 696

Answers (1)

sandeep verma
sandeep verma

Reputation: 149

You need to set the JDK path

C:\Program Files (x86)\Java\jdk1.8.0_40\bin;C:\Program Files (x86)\Java\jdk1.8.0_40\lib;

Upvotes: 2

Related Questions