Well, I was install sun-java, but I want back to OpenJDK 7. I was tray reinstalling from terminal (sudo apt-get install openjdk-7-jre), same from Synaptic and Software Center, but 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 try to install it, but they ARE installed on my system...

this crazyme... I do no want formar my PC just for Java =/

Thanks.

link|improve this question
What do you mean "does not work"? Can you add the output of apt-get install openjdk-7-jre to your question? – Iain Lane Jan 10 at 20:58
feedback

1 Answer

Use

 update-java-alternatives 

to switch between different implementations without removing or reinstalling and downloading packages.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.