Oracle java 7 Installation in Ubuntu E: Sub-process /usr/bin/dpkg returned an error code (1)

后端 未结 6 1042
我寻月下人不归
我寻月下人不归 2020-12-30 15:16

I can\'t install oracle java 7 following the steps provided in this link: http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html

sudo ad         


        
6条回答
  •  天涯浪人
    2020-12-30 16:02

    Tried with the solution but still not working. Even when I tried to download the jdk tar from the Oracle site it still failed at around 30-50MB. Anyway I found an article which talks about it and finally got it fixed!

    Oracle Adds License to oracle-java7-installer and Now It Fails (published on March 2014)

    Basically the steps are similar except the last one:

    sudo apt-get update
    sudo add-apt-repository ppa:webupd8team/java
    sudo apt-get update
    sudo apt-get install oracle-java8-installer
    

提交回复
热议问题