Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ubuntu 16.04: Oracle JDK 9 is NOT installed

Tags:

java

ubuntu

Every time I try to install something from terminal this message pops up to me. Meanwhile I have my Java installed right:

download failed   
Oracle JDK 9 is NOT installed.  
dpkg: error processing package oracle-java9-installer (--configure):
 subprocess installed post-installation script returned error exit status 1  
Errors were encountered while processing:  
 oracle-java9-installer  
E: Sub-process /usr/bin/dpkg returned an error code (1)

Please can someone help me solve this; it's really annoying.

like image 443
Bugz Avatar asked May 19 '17 18:05

Bugz


1 Answers

sudo apt-get purge oracle-java9-installer

solved my issue. Later I also changed Ubuntu Software center server to "Main Server".

like image 50
Uddhav P. Gautam Avatar answered Oct 04 '22 03:10

Uddhav P. Gautam