Trần Thu Hằng
Member
How do I install Java on Linux terminal?
Answer
Installing Java on Ubuntu
Answer
Installing Java on Ubuntu
- Open the terminal (Ctrl+Alt+T) and update the package repository to ensure you download the latest software version: sudo apt update.
- Then, you can confidently install the latest Java Development Kit with the following command: sudo apt install default-jdk.