Results 1 to 2 of 2

Thread: Problem with java installation in ubuntu 11.10

  1. #1
    Join Date
    Aug 2012
    Beans
    1

    Problem with java installation in ubuntu 11.10

    Hi all,

    I am new to ubuntu.I tried to install jdk 7 using the command

    sudo apt-get install openjdk-7-jdk


    But I am getting the following error :

    Errors were encountered while processing:
    oracle-java7-installer
    libaccess-bridge-java
    libaccess-bridge-java-jni
    openjdk-7-jre
    openjdk-7-jdk
    E: Sub-process /usr/bin/dpkg returned an error code (1)


    How to rectify the above error


    Thanks in advance

    Regards,
    Rajeshwar

  2. #2
    Join Date
    Mar 2010
    Location
    Dublin, Ireland
    Beans
    Hidden!
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Problem with java installation in ubuntu 11.10

    Hi and welcome to the forums,

    Could you please try running:

    Code:
    sudo apt-get install -f
    Then try your installation again. This command tries to repair the error that's preventing you from installing the package.
    Matt
    blog.mattrudge.net for extra helpings of geeky Ubuntu goodness
    Get the Ubuntu Weekly Newsletter

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •