How to install JDK on Ubuntu?
To install JDK on Ubuntu, follow these steps:
- You can open the terminal using the shortcut Ctrl+Alt+T.
- Update the apt repository.
- Please install the default Java Development Kit (JDK) with the following command: sudo apt install default-jdk.
- The standard JDK
- Java Development Kit version 11 from OpenJDK
- Please provide me with the version of Java installed.
You have successfully installed JDK on Ubuntu.