When I try to install "OpenJDK Java 7 Runtime" from the Software Centre, this happens:

Package dependencies cannot be resolved

This error could be caused by required additional software packages which are missing or not installable. Furthermore there could be a conflict between software packages which are not allowed to be installed at the same time.


To be on the safe side go back into USC and remove OpenJDK Java 7. or Clean up open JDK:

sudo apt-get purge openjdk*

To install OpenJDK Java 7

Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command below.

sudo apt-get install openjdk-7-jre

I would consult the post below from the folks at Web UPD8 for install Oracle Java:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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