Java or JRE provides regular updates. New updates are numbered according to track updates. Each update or Java version has a version number. We can print this version number in different ways like command-line, GUI, or Browser. We can use java command with the --version option in order to check the version of the installed Java or JRE.