![]() The alternatives system is a reimplementation of the Debian alternatives system. īelow is a block quote from the website which is provided just in case the link stops working at some time in the future.Īlternatives creates, removes, maintains and displays information about the symbolic links comprising the alternatives system. On some other Linux systems I've worked on they have used the alternatives command. , which told me that by default Open JDK 11 is installed which doesn't seem to be the case (but it might be somewhere that I haven't looked).So I'm seeing and wondering if that is telling my that it was pre-installed (or came with the OS install). ![]() Openjdk-8-jre-headless/focal-updates,focal-security,now 8u282-b08-0ubuntu1~20.04 amd64 Openjdk-8-jdk-headless/focal-updates,focal-security,now 8u282-b08-0ubuntu1~20.04 amd64 Libunoloader-java/focal-updates,focal-updates,now 1:6.4.6-0ubuntu0.20.04.1 all Libatk-wrapper-java/focal,focal,now 0.37.1-1 all Libatk-wrapper-java-jni/focal,now 0.37.1-1 amd64 Javascript-common/focal,focal,now 11 all Use with caution in scripts.Ĭa-certificates-java/focal,focal,now 20190405ubuntu1 all WARNING: apt does not have a stable CLI interface. Output is shown belowĪpt list -installed | egrep -i 'jdk|java' 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. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |