Notifications
Clear all
Linux (Ubuntu/Debian/Mint) Software Installation
1
Posts
1
Users
0
Likes
14
Views
Topic starter
09/03/2020 5:52 pm
So, if you are here to check how to install Java OpenJDK via terminal, you are at right place. So lets check below.
[su_note note_color="#f5f5d4" radius="6"]| Also Read | Encrypt/Decrypt File in Linux [/su_note]
Steps for installation.
- Open Terminal
- Enter command
$ sudo apt install default-jre - check the installation
- Check the version
$ java --version
Output will be like this of above command
openjdk 11.0.6 2020-01-14
OpenJDK Runtime Environment (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1)
OpenJDK 64-Bit Server VM (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1, mixed mode, sharing)
[su_note note_color="#f5f5d4" radius="6"]| Also Read | Linux terminology basics you need to know. [/su_note]
So that is it, enjoy your java installation. Will add more things here, so keep checking back the forum.