I'm trying to install Netbeans on my Ubuntu. It was successfully installed but was unable to create new projects or new files. I have installed JDK 12 and then I removed it because I found here a solution that recommended removal of latest versions of JDK and set JDK 8 as default. I did what solution said but now I can't install JDK 8. It is showing me this error message:
E: Package 'oracle-java8-installer' has no installation candidate
So I started searching on the Internet about the solution and I found that "Oracle Java (JDK) 8 Installer PPA (DISCONTINUED)".
What should I do now?
sudo apt install openjdk-8-jdk openjdk-8-jre
. – Kulfy May 15 '19 at 13:07