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:
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.