News:

SMF - Just Installed!

Main Menu

How to install Java in Pop OS?

Started by mahesh, Oct 26, 2023, 06:46 AM

Previous topic - Next topic

mahesh

-----------------------------------------------------------------

According to the Terminal these are my choices:

Code:
sudo apt install default-jre              # version 2:1.11-72, or
sudo apt install openjdk-11-jre-headless  # version 11.0.5+10-0ubuntu1
sudo apt install openjdk-13-jre-headless  # version 13+33-1
sudo apt install openjdk-14-jre-headless  # version 14~18-1
sudo apt install openjdk-8-jre-headless   # version 8u232-b07-2ubuntu1
Notice how the 1st command line ends with "or". Does it mean that installing either "default-jre" or all the 4 other command lines below will yield the same result?


Or is there yet another more suitable way?

Thanks guys,

JDL

------------------------------------------