Code: Select all
aptitude remove openjdk-6-jre openjdk-6-jre-headless openjdk-6-jre-lib icedtea6-plugin icedtea-6-jre-cacao
aptitude install sun-java6-bin sun-java6-jre sun-java6-plugin
Code: Select all
aptitude remove openjdk-6-jre openjdk-6-jre-headless openjdk-6-jre-lib icedtea6-plugin icedtea-6-jre-cacao
aptitude install sun-java6-bin sun-java6-jre sun-java6-plugin
Fortunately, aptitude was smart enough not to do that. I executed the commands I posted in a VM, and everything seems to have went okay.hinto wrote:I usually use synaptic, and install Sun's jdk first, then remove open jdk (iced-tea). That way I don't inadvertently uninstall an app dependent on java.
-H
I used the CD version. Why does the CD version have OpenJDK, and the DVD one, Sun Java?vincent wrote:Did you install the DVD version or the CD version? If the DVD version, then you already have Sun Java installed.
If for example, you have Eclipse installed and uninstall iced-tea first, Eclipse will be uninstalled since you will have a broken dependencies. That is why I install sun-jdk first, then uninstall iced-tea.anonova wrote:Fortunately, aptitude was smart enough not to do that. I executed the commands I posted in a VM, and everything seems to have went okay.hinto wrote:I usually use synaptic, and install Sun's jdk first, then remove open jdk (iced-tea). That way I don't inadvertently uninstall an app dependent on java.
-HI used the CD version. Why does the CD version have OpenJDK, and the DVD one, Sun Java?vincent wrote:Did you install the DVD version or the CD version? If the DVD version, then you already have Sun Java installed.