I have java 7 and java 8 both installed on my windows system under C:\\Program Files\\Java
In the environment\'s path I specif
I guess when you are writing javac, it is getting the value from jre7 which is currently being used by you for development purposes and when you write java version, it is getting the value of the version from the jre8 which is currently being used by the installed applications on your system because your JRE of the system is mentioned before the jre7 which you are using for development