Announcement

Collapse
No announcement yet.

Need help installing openJDK

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Need help installing openJDK

    when i type: sudo apt-get install openjdk-7-jre to install java, i get this ean@sean-desktop:~$ sudo apt-get install openjdk-7-jre
    [sudo] password for sean:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:

    The following packages have unmet dependencies:
    openjdk-7-jre : Depends: openjdk-7-jre-headless (= 7u25-2.3.10-1ubuntu0.13.04.2) but it is not going to be installed
    Depends: libatk-wrapper-java-jni (>= 0.30.4-0ubuntu2) but it is not installable
    Recommends: libgnome2-0 but it is not installable
    Recommends: libgnomevfs2-0 but it is not installable
    Recommends: libgconf2-4 but it is not installable
    Recommends: ttf-dejavu-extra but it is not installable
    E: Unable to correct problems, you have held broken packages.
    sean@sean-desktop:~$


    Please help! thanks in advance!

    #2
    Type this:
    Code:
    sudo apt-get update && sudo apt-get dist-upgrade
    This should complete without any conflicts. Assuming that is the case, then retry:
    Code:
    sudo apt-get install openjdk-7-jre
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Snow, wouldn't he just need to do:
      Code:
      sudo apt-get -f install

      Comment


        #4
        Well....doing what you said, snow, my Internet broke... but then i re installed and tried your install command and it seems to have worked, its installing now...

        Comment


          #5
          the update actually broke it :P i re installed 13.04 and it worked

          Comment


            #6
            Thanks for the help!

            Comment

            Working...
            X