11/06/2016

Ubuntu : Ubuntu 16.04 Cannot Install oracle-java7-installer

Ubuntu : Ubuntu 16.04 Cannot Install oracle-java7-installer
Error Show : download failed Oracle JDK 7 is NOT installed. dpkg: error processing package oracle-java7-installer (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: oracle-java7-installer E: Sub-process /usr/bin/dpkg returned an error code (1)

  1. sudo rm /var/lib/dpkg/info/oracle-java7-installer*
  2. sudo apt-get purge oracle-java7-installer*
  3. sudo rm /etc/apt/sources.list.d/*java*
  4. sudo apt-get update
  5. sudo add-apt-repository ppa:webupd8team/java
  6. sudo apt-get update
  7. sudo apt-get install oracle-java7-installer


https://ubuntuforums.org/showthread.php?t=1968712

No comments:

Post a Comment