0

I got following error while installing the open jdk from ubuntu 14.04. how do i solve this ?

You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 default-jre : Depends: openjdk-7-jre (>= 7~u3-2.1.1)
 openjdk-6-jre-lib : Depends: openjdk-6-jre-headless (>= 6b27)
 openjdk-7-jdk : Depends: openjdk-7-jre (= 7u95-2.6.4-0ubuntu0.14.04.1)
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
1
  • What is the command you are running? Mar 21, 2016 at 12:20

1 Answer 1

0

You need to run below command so it will install dependencies of java.

sudo apt-get install -f

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .