

It says I could runĪpt list -installed | egrep -i 'jdk|java'. - Found when searching list of packages installed on ubuntu 20.04.Searching for an answer led me to this: #1.

So I'm guessing that I installed it and just forgot that I did the install.Īlternatively, is there a way to know if java was installed using apt, ufw, yum, rpm or another package manager, or manually via cd /opt tar xzf pkg.tgz. OpenJDK 64-Bit Server VM (build 25.282-b08, mixed mode) I usually, only expect the JRE to be installed not the JDK.Ī search for the answer said that Ubuntu 20.04 includes Open JDK 11. I don't recall installing java on my Ubuntu 20.4 system, so I'm asking is there a way to know if it came pre-installed on the OS distribution.
