Forum

Install OpenJDK via...
 
Notifications
Clear all

Install OpenJDK via terminal in Linux (Debian/Ubuntu/Mint)

1 Posts
1 Users
0 Likes
14 Views
Forum 1
(@admin)
Member Admin
Joined: 6 years ago
Posts: 41
Topic starter  

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.

  1. Open Terminal
  2. Enter command
    $ sudo apt install default-jre
  3. check the installation
  4. 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.


   
Quote
Share: