Java version update

when i run java -version in command prompt it shows java version "10.0.2". But for javac -version it shows the older version which is javac 1.8.0_121. I have edited the java_home,jre_home and path variables and restarted the system also

1 answer

  • answered 2018-11-08 07:01 Nguyen Duy Tan To

    So what is the question? But in this case, I think you should try to uninstall and then reinstall JDK.