About 152,000 results
Open links in new tab
  1. 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 …

  2. update-java-alternatives vs update-alternatives --config java

    However, using update-java-alternatives with a JDK Version changes both programs for me. Using the first commands, you can use a Java VM and Java Compiler from different JDKs. …

  3. How to set default Java version? - Ask Ubuntu

    Apr 13, 2012 · I followed all the instructions stated at this question, but am encountering some problems with the last part of it. I actually have version 6.22 of java and would like to update to …

  4. openjdk - Change Java Version from 11 to 8 - Ask Ubuntu

    Mar 16, 2021 · I'm working on some of my projects using Java 11, but some libraries are not available in this version. So I want to move to Java 8. However, I'm not able to remove Java …

  5. 18.04 - Downgrading Java 11 to java 8? - Ask Ubuntu

    Apr 12, 2019 · How can i downgrade the java version 11 to java 8. As i need jenkins, current jenkins versoin doesn't support java 11. I need to downgrade.

  6. environment variables - Setting java path in maven - Ask Ubuntu

    Feb 6, 2015 · We can add our entry for JAVA_HOME entry to ~/.pam_environment and make it DEFAULT or OVERRIDE - that's your call. Use whatever text editor you want to open the file (I …

  7. java - Changing Default JDK On Ubuntu 20.10 - Ask Ubuntu

    Oct 30, 2020 · I'm having trouble changing the default version of Java on Ubuntu 20.10. I want to change the default version of Java JDK from Graal to OpenJDK 13. I start by checking the …

  8. java - How to set the project sources JDK version in Netbeans

    May 17, 2020 · If your code is intended to run on a server for which you or a sysadmin manage the JVM version, you can choose the version you prefer and benefit from the latest JVM …

  9. jdk - Want to change default java version to 1.8.xx - Ask Ubuntu

    Jul 9, 2018 · I downloaded Oracle JDK-8 using sudo apt-get install oracle-java8-installer and set this version to default using sudo update-alternatives --config java but when I run java -version …

  10. Is there a way to update all Java related alternatives?

    The trick is to use update-java-alternatives (from the java-common package). So to go for OpenJDK 6 to 7, I used update-java-alternatives -l to get a list of Java alternatives and then …