How do I know if Java is installed on Ubuntu?
Answer
To check the Java version on Linux Ubuntu/Debian/CentOS:
Answer
To check the Java version on Linux Ubuntu/Debian/CentOS:
- Open a terminal window.
- Run the following command: java -version.
- The output should display the version of the Java package installed on your system. In the example below, OpenJDK version 11 is installed.