Tecadmin published a tutorial about how to check the Java version.
How to Check Java Version
Java is a cross-platform, object-oriented programming language developed by the Sun Microsystems in the year 1995. Today, java is used by the billion’s of devices, games, media players, audio vide applications etc. As of today Java SE 15 is the latest version available for the installation.