Update Windows path variable when Java is updated automatically?

后端 未结 3 1845
旧时难觅i
旧时难觅i 2021-01-18 14:29

This question asks how to setup your path variable in Windows to include the Java bin directory allowing you to use the javac command from the prompt. The solution posted t

3条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-18 15:10

    Use the variable set by the Java Installer instead:

    set path="%path%;%JAVA_HOME%\bin"
    

提交回复
热议问题