How do I know if I have Java 8 on Linux?

Mỹ An

New member
How do I know if I have Java 8 on Linux?
Answer
Method 1: Check the Java Version On Linux
  1. Open a terminal window.
  2. Run the following command: java -version.
  3. 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 г.
 

Tìm kiếm

Back
Top