How to Know Installed Java Version?

      No Comments on How to Know Installed Java Version?




Installed Java Version on a System can be known using java -version command.

Open the command prompt and run the command java -version.

root@masterjavatutorial-Not-Specified:~# java -version
openjdk version "1.8.0_181"
OpenJDK Runtime Environment (build 1.8.0_181-8u181-b13-1ubuntu0.16.04.1-b13)
OpenJDK 64-Bit Server VM (build 25.181-b13, mixed mode)