Get the currently installed Java version and vendor on Ubuntu / Debian Linux

To day I had to  figure out the Java version installed on my machine while digging through some problems with my IntelliJ IDE. This is how you can get the currently installed Java version and vendor on Ubuntu or other debian derivatives on bash.

That gives you something like that:

As you can see, you’ll get the currently installed Java version and vendor this way. Additionally you get the installation path (Java home).

By the way, this command also gives you the supported locales of your system.

For further infomation see: http://man7.org/linux/man-pages/man2/sysinfo.2.html

Leave a Reply

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

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.