1
Does anyone know another way to install java in Ubuntu 18.04.
I tried java 8 and 10 and gave these errors:
"The oracle-java10-installer package is not available, but is referenced by another package. This may mean that the package is missing, has become obsolete or is only available from another source
E: The oracle-java10-installer package has no installation candidate"
"The oracle-java8-installer package is not available, but is referenced by another package. This may mean that the package is missing, has become obsolete or is only available from another source"
Go to your terminal and type: sudo apt-get install oracle-java8-installer
– Marconi
You can install the default-jdk that is Openjdk. Doesn’t it solve? I believe that, nowadays, to install Oracle tools, only creating an account on the Oracle site and downloading directly from them.
– epx