About 84,000 results
Open links in new tab
  1. How to set default Java version? - Ask Ubuntu

    Apr 13, 2012 · Under the suggestion of @fossfreedom I ran the script anyway and actually it updated the java version. In fact if I run command java -version output will be the following: $ …

  2. updates - How to upgrade Java on Ubuntu? - Ask Ubuntu

    I installed Ubuntu on my computer, and now my Java version is not updated. I have Java, so I don't need to install - just update the current version.

  3. How do i update Java 11 to Java 13? - Ask Ubuntu

    Apr 8, 2020 · If you do not uninstall java 11 then you need to change the java default configuration after you install the other version ( with sudo update-alternatives --config java) and change …

  4. bash - Switiching Java version per session - Ask Ubuntu

    Jul 23, 2015 · When I want to switch between them I do a sudo update-alternatives --config java. However, changing it this way changes the current Java version on all terminals. I wanted to …

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

    Mar 1, 2016 · While installing Android Studio on Ubuntu 14.04 I get the message that my Java version (javac 1.7.0_79) is causing problems. I found a solution of how to install a newer …

  6. How do I make java default to a manually installed JRE/JDK?

    It was easy, but too complex for those who didn't know those variables, and somebody invented "update-java-alternatives". "update-java-alternatives" has proven to be simple, when …

  7. 12.04 - Updating java version to 8 on ubuntu - Ask Ubuntu

    update-java-alternatives. to make sure that a particular java (sun-java) is the default runtime. Use update-java-alternatives --list to display all possible options, and update-java-alternatives --set …

  8. apt - install openjdk 21 - Ask Ubuntu

    Nov 13, 2023 · I have Ubuntu 22.04.3 LTS. I have run sudo apt update but when I execute apt install openjdk-21 the package can't be located Reading package lists... Done Building …

  9. How to upgrade Java compiler - Ask Ubuntu

    Nov 12, 2015 · warning: Blabla.class: major version 52 is newer than 51, the highest major version supported by this compiler. it is recommended that the compiler be upgraded. But how …

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

    Note the 100 is just the priority which is considered when setting the jdk version using the auto flag. Check the java alternatives and switch to use the JDK. update-java-alternatives -l update …

Refresh