Skip to content
Tom Willemsen edited this page May 30, 2019 · 25 revisions

Wiki > Deployment > Upgrade java

When Java needs to be updated on the instrument:

  1. Before you start, ensure you understand Java's licensing.
  2. Determine which new version of Java should be installed.
  3. If oracle java is on the system uninstall it
  4. Copy the latest version of the openJDK installer from the public share at ...\ISIS_Experimental_Controls_Public\third_party_installers\latest_versions\OpenJDK...
    • Do not use a copy downloaded from the internet as it may not have been tested with IBEX
  5. Run the installer and install all components. The install menu should look like this:
  6. Make sure you run the instrument, either now or before you finish
    • Answer any firewall questions "yes, allow through the firewall".

Additional optional steps for developer installations (not required on instruments):

  1. To build CS-Studio from source, you will need JavaFX binaries. These can be patched onto the AdoptOpenJDK installation. Download the latest binaries from https://github.com/SkyLandTW/OpenJFX-binary-windows/releases and follow the instructions on that page to patch your JDK. At the time of writing these binaries are available under the GPL; please check that the license is still appropriate before you install.
  2. You may wish to install the java Visual VM. This used to be bundled with oracle java, but is no longer present in OpenJDK. You can download a GPL-licensed version of the visual VM from https://visualvm.github.io/
Clone this wiki locally