"As you probably know, Oracle Java (JVM/JDK) will not be
available in the Debian / Ubuntu repositories anymore because
Oracle retired the "Operating System Distributor License for Java"
(JDL) and the only release available in the repositories will be
But of course, Oracle Java can still be downloaded from its
website if you really need it and don't want to use OpenJDK.
However, installing it in Ubuntu is not that easy...