FOSS Linux published a tutorial about installing Java on Linux Mint.
How to install Java on Linux Mint
In this article, we will learn how to install Java (OpenJDK) on Linux Mint version 20. OpenJDK is a free and open-source distribution of Java.
How to install Java on Linux Mint | FOSS Linux