I just install jdk and jre version 8 In windows. Environment variable already set. I try run "java -version" in cmd and it shows the version of java installed. But whe
if the above text is correct, you have written
"C:\Program File\Java\jdk1.8.0_60\bin;C:\Program File\Java\jdk1.8.0_60\bin\;"
it must be "Program Files"
C:\Program Files\Java\jdk1.8.0_60\bin;C:\Program Files\Java\jdk1.8.0_60\bin\
The JRE only contains the java executable, and not javac. So apparantly your path points to the JRE installation dir, not the JDK.
On a windows system also check the if the path variable includes you're java installation. Use
set
Perhaps you want also want to have look at Oracle Java help
Regards Patrick
There is a typo in your variable path:
C:\Program File\Java\jdk1.8.0_60\bin;C:\Program File\Java\jdk1.8.0_60\bin\;
Should be and you do not need it twice
C:\Program Files\Java\jdk1.8.0_60\bin;