talha@cnl-4:/usr/java$ sudo apt-get install sun-java6-plugin
Reading package lists... Done
Building dependency tree
Reading state information... Done
sun-java6-plugin is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
talha@cnl-4:/usr/java$ sudo update-alternatives --config java
There are 2 choices for the alternative java (providing /usr/bin/java).
Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/lib/jvm/java-6-openjdk/jre/bin/java 1061 auto mode
1 /usr/lib/jvm/java-6-openjdk/jre/bin/java 1061 manual mode
2 /usr/lib/jvm/java-6-sun/jre/bin/java 63 manual mode
Press enter to keep the current choice[*], or type selection number: 2
update-alternatives: using /usr/lib/jvm/java-6-sun/jre/bin/java to provide /usr/bin/java (java) in manual mode.
talha@cnl-4:/usr/java$ sudo apt-get remove icedtea-6-jre-cacao
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
icedtea-6-jre-cacao
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 877kB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 304083 files and directories currently installed.)
Removing icedtea-6-jre-cacao ...
talha@cnl-4:/usr/java$ sudo apt-get remove icedtea6-plugin
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
icedtea6-plugin
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 274kB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 304075 files and directories currently installed.)
Removing icedtea6-plugin ...
talha@cnl-4:/usr/java$
Bookmarks