Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question

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
share|improve this answer

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

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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