我在12.04成功地安装了Oracle,并将其设置为默认,我想知道删除Icedtea和OpenJDK6以及所有属于它的所有内容是否安全和安全,并且只坚持Oracle,如果我想在以后重新安装Iced茶,就可以了吗?这是我的输出:
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)发布于 2014-02-03 20:30:34
是的,这样做是可以的,除非您正在运行一些专门需要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.基本上,在自动模式下,安装新包可能会更改默认值。在手动模式下,您所选择的将保持不变。
https://askubuntu.com/questions/415000
复制相似问题