How do I choose Java version in Linux?

How do I choose Java version in 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