![]() Instead, I found Bash instructions at to "wget" the tarball and install it: # install-openjdk-8.sh I didn't actually have to download from the adoptopenjdk site and try to figure out the installation. ![]() OpenJDK 64-Bit Server VM (build 11.0.11+9-Ubuntu-0ubuntu2.20.04, mixed mode, sharing)Īs per matigo's comment, "If you are using the 64-bit ISO (supported by Intel/AMD processors), then you'll want 圆4." OpenJDK Runtime Environment (build 11.0.11+9-Ubuntu-0ubuntu2.20.04) (answer Yes, and watch the downloads pass by) Unnless you have very specific requirements there are very good odds that the default-jdk will do what you need. Sudo apt install openjdk-17-jdk-headless # version 17+35-1~20.04 Sudo apt install openjdk-13-jdk-headless # version 13.0.7+5-0ubuntu1~20.04 Sudo apt install openjdk-8-jdk-headless # version 8u292-b10-0ubuntu1~20.04 Sudo apt install default-jdk # version 2:1.11-72 javacĬommand 'javac' not found, but can be installed with: Note that if you actually need to compile programs, you need more like the javac Java compiler. In other words, you have several already available in the Ubuntu package system. ![]() Sudo apt install openjdk-17-jre-headless # version 17+35-1~20.04 Sudo apt install openjdk-13-jre-headless # version 13.0.7+5-0ubuntu1~20.04 Sudo apt install openjdk-8-jre-headless # version 8u292-b10-0ubuntu1~20.04 Sudo apt install default-jre # version 2:1.11-72 I think you may have a X-Y problem, namely that all you really want is a JVM for your system.Īs suggested by running java on a Ubuntu 20.04 LTS WSL instance: javaĬommand 'java' not found, but can be installed with:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |