我已经在12.04上成功安装了Oracle Java并将其设置为默认值,我想知道删除Icedtea和OpenJDK6及其所有内容并仅保留Oracle Java是否安全且可以,如果我想重新安装Icedtea,以后会好吗?这是我的输出:
0 /usr/lib/jvm/java-7-oracle/jre/bin/java 1062 auto mode
1 /usr/lib/jvm/java-6-openjdk-i386/jre/bin/java 1061 manual mode
2 * /usr/lib/jvm/java-7-oracle/jre/bin/java 1062 manual mode
手动或自动模式又有什么不同?
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) Client VM (build 24.51-b03, mixed mode)
是的,这样做是可以的,除非您正在运行某些特别需要openjdk的软件。很可能你不是。另外,是的,如果需要,您可以稍后再安装IcedTea。
man 8 update-alternatives
告诉
automatic mode
When a link group is in automatic mode, the alternatives system
ensures that the links in the group point to the highest priority
alternative appropriate for the group.
manual mode
When a link group is in manual mode, the alternatives system will
not make any changes to the system administrator's settings.
基本上,在自动模式下,安装新软件包可能会更改默认设置。在手动模式下,您选择的内容将保留。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句