Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

To upgrade Java:

  • Follow instructions to install Java: Install Java

  • If you have set the environment variable JAVA_HOME, check whether this needs updating. You do not need to set this variable, if it is not already set. Note also that if you have set it, some installations will automatically update it for.

    • On windows, check the system environment variables to see if JAVA_HOME is set, and if it needs updating to the new base installation of Java, do so

    • On linux, check in any user session to see whether JAVA_HOME is set, and whether it is up-to-date

Update service script


cwelford@PF-000151:/mnt/c/Program Files/Eclipse Adoptium$ find . -name jvm.dll -print
./jdk-11.0.13.8-hotspot/bin/client/jvm.dll
./jdk-11.0.13.8-hotspot/bin/server/jvm.dll
./jdk-8.0.312.7-hotspot/jre/bin/server/jvm.dl

Unix: update-alternatives?

Remove old version?

Linux

delete install:

cd /opt/jdk

rm XXXXX

sudo update-alternatives --remove java /opt/jdk/jdk8u312-b07/bin/java


  • No labels