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

后端 未结 6 1003
我寻月下人不归
我寻月下人不归 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 15:56

    The reason is : WHY ORACLE JAVA 7 AND 6 INSTALLERS NO LONGER WORK

    If you have an Oracle Support account and you really need Oracle JDK 6 or 7, you can get the installers from the WebUpd8 PPA to work by downloading the binaries and placing them in the following folder:

    • /var/cache/oracle-jdk6-installer/ for JDK 6 (you'll need version 6u45)
    • /var/cache/oracle-jdk7-installer/ for JDK 7 (you'll need version 7u80 for 32bit and 64bit or 7u60 for arm)

    ... and then install the oracle-java6-installer or oracle-java7-installer package.

提交回复
热议问题