JAVA_HOME and PATH are set but java -version still shows the old one

前端 未结 10 1415
温柔的废话
温柔的废话 2020-11-29 01:12

I am using Linux Mint Cinnamon 14. I have set the $JAVA_HOME and $PATH environment variables in ~/.profile as follows:



        
10条回答
  •  一向
    一向 (楼主)
    2020-11-29 02:01

    There is an easy way, just remove the symbolic link from "/usr/bin". It will work.

提交回复
热议问题