Unable to install java9 on ubuntu

spectre009 :

I already have java8 working but when I try to install java9 this is what happens everytime:

sudo apt-get install oracle-java9-installer

Reading package lists... Done Building dependency tree Reading state information... Done Package oracle-java9-installer is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

E: Package 'oracle-java9-installer' has no installation candidate

JosephWorks :

do

sudo apt install default-jre default-jdk

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=460906&siteId=1