How To Check Java Version – POFTUT

How To Check Java Version

Java is very popular programming language between open source community. Java is used for a lot of opensource projects. To run java applications it Java Run time Environment or Java Development Kit should be installed. We can check specific version java like below.

Java Command Not Found

Oh there is a problem. java command cannot be found which means it is not installed or the path is not specified. In this case it is not installed in our system. So  we will install open-jre like below.

Install Fedora, CentOS, RedHat

We will install java-1.8.0-openjdk-headless . Headless means there will be no GUI. It is also as 86 bit which is expressed as x86

Install Debian, Ubuntu, Mint, Kali

We will install openjdk-9-jre . JRE means Java Runtime Environment which version is 9.

Install Debian, Ubuntu, Mint, Kali

Install Debian, Ubuntu, Mint, Kali

Check Java Version

After installing Java application we will use java command with the -version option like below.

Check Java Version

Check Java Version

As we see we installed Open-jre which is open source java implementation. Other alternative is Oracle jre which is closed source. We can see that our version is 11.0.1. We can also see that OpenJDK is 64 bit.

LEARN MORE  Java JDK vs JRE What Are Differences and Similarities?

Leave a Reply

Your email address will not be published. Required fields are marked *

Enjoy this blog? Please spread the word :)