-
Notifications
You must be signed in to change notification settings - Fork 2
Upgrade Java
JamesKingWork edited this page Mar 10, 2020
·
25 revisions
Wiki > Deployment > Upgrade java
(Please note if you are following this link from here https://github.com/ISISComputingGroup/ibex_developers_manual/wiki/First-time-installing-and-building-(Windows) then you do not need to worry about this section. )
- Before you start, ensure you understand Java's licensing.
- Determine which new version of Java should be installed.
- If oracle java is on the system uninstall it
- 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
- Run the installer and install all components. The install menu should look like this:
- Make sure you run the instrument, either now or before you finish
- Answer any firewall questions "yes, allow through the firewall".
- 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. Please check that the license is still appropriate before you install.
- If you will be debugging lots of java applications 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/
- Installing Java 8 may place the installed JRE higher on the PATH than the GUI Java (11). You will need to move it lower down the order of the PATH
The binaries listed above are also copied in \\isis\inst$\Kits$\CompGroup\ICP\Java_utils
.