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
The JRE only contains the java executable, and not javac. So apparantly your path points to the JRE installation dir, not the JDK.