2010-05-05

Ubuntu 10.04 - Java issue

Buy default Ubuntu 10.04 comes with OpenJDK Java 6 runtime (or without any Java plug-in at all). And for my most important use of Java (Citrix, Bank ID, Net-ID etc.) I can't use these Java plug-ins and have to remove OpenJDK (etc.) and install Sun/Oracle Java 6.



Lets go through this.



Start System / Administration / Update manager click on settings (lower left corner), go to Other Software and mark the the partner (not the source code) and click Close. System will now update your source database. And then Install Update / Check and Install Update (if any). If this is your first boot and or new installation you will have a lot of upgrade to install (and a need for a reboot).



Now start up Applications / Ubuntu Software Center and click Installed Software and search for "java", if you find anything like OpenJDK Java or icedtea Java plugin (except Sun Java 6.0 Plugin) so remove it. After you removed it click on Get Software and search for "java" and Sun Java 6.0 Plugin and install.



Summation.
I have seen installations with Java installed and some without, and I'm not sure what installs the OpenJDK or Icedtea Java plugin. But the point is that you need to install the Sun Java 6.0 Plugin and only have that Java version on your computer (to be on the save side).


Choosing the default Java to use
If your system has more than one version of Java, type the following command in a terminal window:

sudo update-alternatives --config java


Without Sun Java I can't login through Citrix to my work etc.  Here you can read about my howto citrix ica client in ubuntu .

If like more tips on software to install please read my Tweak post about that.


Reference:






No comments:

Post a Comment