I have installed Java on a new system. Some random path in my C drive is automatically set for my
java.exe not found
set PATH=%PATH%;C:\Program Files\Java\jdk1.7.0_71\bin
The system cannot find the file C:\ProgramData\Oracle\Java\javapath\java.exe.
if you are using windows system, please create java_home as a variable and set java home path i.e. till
C:\Program Files\Java\jdk1.7.0_71, and in path variable do not delete existing just append new with
this will work
in you case SET is valid till command prompt is open. do the above changes in my computer -> properties -> advanced ->environment variables