java - Setting new path -
i've got simple question nagging me day.
i have updated jdk 1.8.0_20
, wanted utilize it's javac
. problem every single time type javac -verion
in cmd
, shows me 1.7.0_07
.
i have appended path jdk1.8.0_20\bin
, typing java -version
in cmd
shows 1.8.0_20
.
if have ideas going on, happy know.
when typing javac -version
, command show current version of java compiler.
once have updated jdk 1.8.0_20
, using it's javac
show current version of jdk jdk path have registered in environment variable. when type javac -version
, show jdk 1.7
because in scheme settings have set path of jdk1.7
. utilize latest version of jdk either need set jdk1.8
path environment variable, or need type set path = directory
java 1.8 stored/path bin`. if utilize environment variable set path doesn't need set path 1 time again , 1 time again
java path javac
No comments:
Post a Comment