0x0021 - Java - Installing JDK 19 in Ubuntu
Java - Installing JDK 19 in Ubuntu

Head to their main download page here:

Once you have downloaded the Debian package for x64, double-click on it:
sudo apt install <target>.rpm
Once this is installed - you should be able to 'java' run more recent applications.
Using this guide we then needed to set some directories: