About 3,370,000 results
Open links in new tab
  1. apt - install openjdk 21 - Ask Ubuntu

    Nov 13, 2023 · sudo apt install openjdk-21-jdk It's in the Universe repository, so be sure you have that enabled. It wasn't available yet when you asked the question, but it is now. If you add a …

  2. openjdk - How can I tell what version of Java I have installed?

    The simplest way is: update-java-alternatives -l shows you all the Java versions you have installed. java -version shows you the Java version you are using. java -showversion shows …

  3. JAVAC and JPS are not present in /usr/lib/jvm/java-8-openjdk …

    Jun 13, 2017 · In Amazon Linux, the yum package with just the JRE is called java-1.8.0-openjdk and the yum package with the JRE and JDK is called java-1.8.0-openjdk-devel. If this is your …

  4. openjdk - Switch between multiple java versions - Ask Ubuntu

    Mar 1, 2016 · Apt-get won't overwrite the existing java versions. To switch between installed java versions, use the update-java-alternatives command. List all java versions: update-java …

  5. How to set JAVA_HOME for Java? - Ask Ubuntu

    Aug 13, 2012 · This seems like it would be static. If I remove openjdk-7 and install openjdk-9, won't the JAVA_HOME then point to the wrong place? How can it be made dynamic?

  6. apt - How to install openjdk-18? - Ask Ubuntu

    Jul 31, 2022 · I am trying to optimize Minecraft on Linux and it says to get the latest OpenJDK JRE. My current setup is: $ sudo update-alternatives --config java ...

  7. openjdk - JAVA_HOME is not valid? - Ask Ubuntu

    May 8, 2019 · When you install the openjdk JRE or JDK, I don't think, a JAVA_HOME environment variable is created for you. You have two options, you can setup JAVA_HOME in …

  8. 20.04 - Unable to locate package openjdk-15-jdk - Ask Ubuntu

    Dec 23, 2020 · Command I'm using: sudo apt-get install openjdk-15-jdk Error: E: Unable to locate package openjdk-15-jdk I used similar command to install openjdk-14, which ran successfully.

  9. jdk - Does Java JRE 17 exist? - Super User

    Mar 15, 2024 · Here's a list of OpenJDK distributions still offered as JRE build. One could consider Temurin the most official one, while Zulu is offered for the longest and together with …

  10. java - How to uninstall OpenJDK? - Ask Ubuntu

    I don't want OpenJDK installed on my Ubuntu 13.04 system, but trying to uninstall the openjdk-7-jre yields the following message: $ sudo apt-get purge openjdk-7-jre