Configuring another version of OpenJDK for Unravel
OpenJDK version 1.8.0_232 is packaged with Unravel. However, if you are using another version of OpenJDK, use the following steps to configure that version with Unravel.
Backup the contents of the
jre
directory that is packaged with the Unravel installation:mv /usr/local/unravel/jre/* /root/jre_orig/
Download and Install any version of OpenJDK.
In the newly installed OpenJDK, locate the
jre
directory and copy the content of this directory to Unravel'sjre
directory:cp -r /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.<ver>.b09-2.el7_8.x86_64/jre/* /usr/local/unravel/jre/
Cross-verify the java version:
cmd - /usr/local/unravel/jre/bin/java -version Output - openjdk version "1.8.0_252" OpenJDK Runtime Environment (build 1.8.0_<ver>-b09) OpenJDK 64-Bit Server VM (build 25.<ver>-b09, mixed mode)
Using a vi editor, open file
/usr/local/unravel/dbin/get_daemon_basics.sh
. Go to line number - 341 and make the following changes:# ALPN_AGENT="-javaagent:${UNRAVEL_INSTALL_DIR}/dlib/agent/alpn-agent.jar"ALPN_AGENT=""
Restart all the daemons:
service unravel_all.sh restart