I decided to uninstall sun java and give openjdk a chance.But when I test java from the sun java website I get a report about using sun java SE 6 update20. But I uninstalled sun java completely.This is from the terminal: ceylan@ceylan-desktop:~$ java -version java version "1.6.0_20" OpenJDK Runtime Environment (IcedTea6 1.9.9) (6b20-1.9.9-0ubuntu1~10.04.2) OpenJDK Server VM (build 19.0-b09, mixed mode) ceylan@ceylan-desktop:~$ update-java-alternatives -l java-6-openjdk 1061 /usr/lib/jvm/java-6-openjdk ceylan@ceylan-desktop:~$ Can someone help please! Java is working on all the sites I use.No problems so far.But since it shows version 20 does this mean I am not secure?
Open JDK is reported as an older version of Sun Java, this isn't a flaw and Open JDK7 now works flawlessly on Ubuntu.
Thanks, I am glad that java does not have flaw.But I could not find a ppa for openJDK 7 for Ubuntu 10.04.There is one ppa but it is for Ubuntu11.01 So should I stay with the current one or download and install from the link mack-guy has given?
Cet, that repo contains lots of other stuff that you may wish not to update, just install Open JDK from official repos, since LTS is still supported, any issues will be addressed by updates.
@ linuxforall Openjdk unfortunately does not work in our favourite browser (Opera) - it's the damn icedtea plugin.
yes if Openjdk work for you then no problem going with it or alternativly u can download and install jre 7