I had installed sun-java, but I want to revert back to OpenJDK 7. I was trying to re-install from the terminal using the command sudo apt-get install openjdk-7-jre
, same from Synaptic and Software Center, but it does not work.
I try to use the command java -version
and then I get a message like The java program can be found on follow packages» open-7-jre-headless
So, I tried to install it, but they ARE installed on my system...
I do no want format my PC just for Java.
Thanks.
apt-get install openjdk-7-jre
to your question? – Iain Lane Jan 10 '12 at 20:58