Updating Java for Cassandra
By default, DataMiner installs Cassandra with its own Java 8 installation. This is typically located in C:\Program Files\Cassandra\Java\bin. DataMiner deploys Cassandra with Java 1.8.0_91. Cassandra depends on Java 8. We do not recommend deploying Java 11.
A PowerShell script to update the Java version is available at Cassandra Hardening.
To update the Java version:
Download the latest OpenJDK 8 JRE binaries from the official website.
You can download the latest OpenJDK 8 JRE binaries from the OpenJDK Wiki. Make sure to download the Windows x64 archive. For example: OpenJDK8U-jre_x64_windows_8u322b06.zip
Stop the DataMiner Agent.
Stop the Cassandra service.
Rename the C:\Program Files\Cassandra\Java folder to C:\Program Files\Cassandra\Java_bak.
Create a new Java folder in C:\Program Files\Cassandra.
Extract the OpenJDK archive you downloaded and copy the binaries to C:\Program Files\Cassandra\Java.
Start the Cassandra service.
Start the DataMiner Agent.