Linux Shout published a tutorial about installing Oracle Java 8 on Ubuntu Linux.
How to install Oracle Java 8 64-bit Ubuntu 22.04 | 20.04 LTS
Learn the commands to download & install Oracle Jave 8 64-bit on Ubuntu 20.04 Focal fossa or Ubuntu 22.04 Jammy Jellyfish using the terminal.
How to install Oracle Java 8 64-bit Ubuntu 22.04 | 20.04 LTS