Contents
To verify your current java installation, open a terminal and execute the java -version command. The Java-version is of the format with “1. X. 0_YYY”, where X is the major version, and YYY is the build number.
How do I know if I have Java 8 on Linux?
Method 1: Check the Java Version On Linux
- 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.
12 авг. 2020 г.
How do I know if Java is installed on Linux?
To check which version of Java is installed, follow this procedure: -Open a Linux command prompt. -Enter the command java -version. -If Java version is installed on your system, you see a Java installed response. Check the version number in the message.