I've been trying to install Java 15. I installed it a few weeks later on Elementary OS without issues. I switched to Ubuntu today and tried to install it again but this error is driving me mad:
download failed
Oracle JDK 15 is NOT installed.
dpkg: error processing package oracle-java15-installer (--configure):
installed oracle-java15-installer package post-installation script subprocess
returned error exit status 1
Errors were encountered while processing:
oracle-java15-installer
E: Sub-process /usr/bin/dpkg returned an error code (1)
I used the following commands:
sudo add-apt-repository ppa:linuxuprising/java
sudo apt update
sudo apt install oracle-java15-installer
--2020-10-21 19:53:13-- https://download.oracle.com/otn-pub/java/jdk/15+36/779b f45e88a44cbd9ea6621d33e33db1/jdk-15_linux-x64_bin.tar.gz?AuthParam=1603331713_3c 406b8486ab7280a476edbbdd1bb2f8 Connecting to download.oracle.com (download.oracle.com)|104.85.160.29|:443... co nnected. HTTP request sent, awaiting response... 404 Not Found 2020-10-21 19:53:14 ERROR 404: Not Found.
which means until they fix it, or the site is down it cannot be installed. – Terrance Oct 22 '20 at 01:54