How do I install Java 1.8 on Linux?

Thanh Hoan

New member
How do I install Java 1.8 on Linux?
Answer
Installing Open JDK 8 on Debian or Ubuntu Systems
  1. Check which version of the JDK your system is using: java -version. …
  2. Update the repositories: …
  3. Install OpenJDK: …
  4. Verify the version of the JDK: …
  5. If the correct version of Java is not being used, use the alternatives command to switch it: …
  6. Verify the version of the JDK:
 

Tìm kiếm

Back
Top