How do I install java on Linux terminal?

Hằng Đoàn

New member
How do I install java on Linux terminal?
Answer
Install OpenJDK
  1. Open the terminal (Ctrl+Alt+T) and update the package repository to ensure you download the latest software version: sudo apt update.
  2. Then, you can confidently install the latest Java Development Kit with the following command: sudo apt install default-jdk.
 

Tìm kiếm

Back
Top