How to use the command update-alternatives --config java

后端 未结 8 1719
北恋
北恋 2020-11-28 22:05

I am installing Apache Solr on Linux Debian (Squeeze). I have been instructed to install sun-java jdk 1st. Then am told that I should use the command sudo update-alter

8条回答
  •  囚心锁ツ
    2020-11-28 23:07

    If you want to switch the jdk on a regular basis (or update to a new one once it is released), it's very conveniant to use sdkman.

    You can additional tools like maven with sdkman, too.

提交回复
热议问题