I'm trying to compile a class in java via the command line (cmd), however I can not, the error shown is:
'java is not recognized as an internal or external command, operable program or batch file.
Image of the prompt with the error:
I configured the environment variables as follows:
JAVA_HOME: C:\Program Files\Java\jdk1.8.0_60
and
PATH:
C:\ProgramData\Oracle\Java\javapath;
C:\Program Files\Common Files\Microsoft Shared\Windows Live;
C:\Windows\system32;
C:\Windows;
C:\Windows\System32\Wbem;
C:\Windows\System32\WindowsPowerShell\v1.0\;
C:\Program Files\Windows Live\Shared;
C:\Users\AppData\Local\Smartbar\Application\;
C:\Users\AppData\Local\Smartbar\Application\;
C:\Users\AppData\Local\Smartbar\Application\;
C:\Program Files\Skype\Phone\