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

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