About 184,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. 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 …

  3. 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 …

  4. 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. …

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

    Oct 9, 2015 · After fiddling a lot with JAVA_HOME without success, i decided to take a look at studio.sh, the shellscript that starts Android Studio. As a wild guess, i set JDK_HOME to the …

  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 - How to set the JDK for Android Studio? - Ask Ubuntu

    To change it I go to File -> Project Structure and try to find the JDK 1.6 location. But when I select its directory and press OK I get the following error: Please choose a valid JDK directory As you …

  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. 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.

  10. How to safely update or switch from any version of Java to Java 17 …

    Mar 25, 2024 · I have to switch the current version of Java installed on my Ubuntu to Java 17, which is the most recent version guaranteed to work fine with some software I need to use. So …

Refresh