Please help! I have downloaded the .deb version of Java SE JDK from this site: https://www.oracle.com/java/technologies/javase-jdk11-downloads.html This .deb file is saved in my Downloads folder. When I double click the icon the Ubuntu Software Install page pops up, I hit install, but it never installs.
So I press Install again, and it says are you sure you want to remove it? If I click remove, it just disappears from Ubuntu Software. I have tried
sudo dpkg -i jdk-11.07_linux-x64_bin.deb but I get "dpkg: error: cannot access archive 'jdk-11.07_linux-x64_bin.deb': No such file or directory".
When trying to install using Terminal, I receive this error:
Oracle JDK 11 is NOT installed.
dpkg: error processing package oracle-java11-installer-local (--configure):
installed oracle-java11-installer-local package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
Nothing is in the java-11-oracle directory. I have downloaded jdk-11.0.7_linux-x64_bin.tar.gz and placed it into /var/cache/oracle-jdk11-installer-local, but now when I run sudo add-apt-repository ppa:linuxuprising/java I get an error Err:1 archive.ubuntu eoan InRelease Could not resolve 'archive.ubuntu'