A technical troubleshooting blog about Oracle with other Databases & Cloud Technologies.

How to check Java Version Installed on Linux ??

1 min read
There are many middleware tools which require latest version of java jdk to be installed on your Linux machine. You can easily find and check the latest version of jdk using below commands.

How to find PATH where JDK is installed
$ which java
$ whereis java
$ locate openjdk
$ ps -ef|grep -i JAVA
Checking Java Version in Linux
$ java -version
openjdk version "1.8.0_191"
OpenJDK Runtime Environment (build 1.8.0_191-b12)
OpenJDK 64-Bit Server VM (build 25.191-b12, mixed mode)