As a computer user (even a normal low end one),Java is one of the most important things that you’ll need when working with a lot of software and packages.

Sometimes this can get pretty annoying especially if you’re using Linux.

The easiest way to check what java version you’re running is to run the following command:

$java -version

This will give you something that looks like this:

Sometimes, you might need to know how many java’s you have installed. To do this, you use the following command on the terminal:

$/usr/sbin/alternatives –config java

This will give you something like:

You can either choose a new one or keep the one that’s already there.

If at all you need to download a new version of java, go here.

About The Author

My name is Patrick. I am a Linux Ninja (DevOps) | Data Analyst | Network Eng | writer. I live the Linux life and dream in R and Scala. I am an aspiring author with my first two books on the way. In my free time, I play WIFI

Related Posts

Leave a Reply

%d bloggers like this: