How do I get Java 8 on Linux?

Đạt Michio

New member
How do I get Java 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: sudo apt-get update.
  3. Install OpenJDK: sudo apt-get install openjdk-8-jdk. …
  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