In this article
The Snaplex Linux installers have a bundled JRE 11 distribution, and Groundplex instances are installed with JRE 11. You can follow the instructions in this document to configure Java 11 on your Linux and Windows Snaplex instances.
When you install a Groundplex using the new RPM/DEB installer or a Docker container, it defaults to Java 11. While we ship Java 11 with the Snaplex for Linux users, Windows users must manually install Java 11.
|
Upgrade Process
To upgrade your Groundplex to Java 11:
|
To switch existing nodes to OpenJDK Java 11:
$ sudo /opt/snaplogic/bin/jcc.sh stop
$
rpm -U --force snaplogic-snaplex.rpm
$
dpkg -i snaplogic-snaplex.deb
$ sudo /opt/snaplogic/bin/jcc.sh start
.The installation folder has two packages for Java 11 and Java 8 (in case a rollback is required).
The Snaplex installer defaults to openjdk-11.0.10+9-jre
. To change the version, create a file /etc/sysconfig/jcc
with SL_JAVA_HOME
pointing to the desired JRE location.
To create the /etc/sysconfig
directory and /etc/sysconfig/jcc
file as well as grant read permissions to all users, run the following command:
sudo mkdir -p /etc/sysconfig; sudo sh -c "echo 'export SL_JAVA_HOME=/opt/snaplogic/pkgs/jdk-11.0.10+9-jre/' >> /etc/sysconfig/jcc" |
Configuring Java 11 on Windows
To switch to Java 11 on Windows:
c:\opt\snaplogic\bin\jcc.bat stop
c:\opt\snaplogic
:\opt\snaplogic\bin\jcc.bat
file and update the JAVA_HOME to point to the location of the Java 11 installation.If you are running the Snaplex as a service, run the following commands: jcc.bat remove_service
jcc.bat install_service
Run the following command:
c:\opt\snaplogic\bin\jcc.bat start
After you configure Java, go to the SnapLogic Dashboard and verify that the Additional Information dropdown list displays the Java version as 11.0.10_9 or higher.