JLUPIN NEXTSERVER WEBSITE
News
  • Rating:
  • Views: 202
  • Author: JLupin
  • Comments: 0

If you want to run JLupin 1.4.1-RC environment (Main Server, microservices and control) on JDK 9 you need to implement some configuration changes. Please follow the instructions.

1. Set JAVA_HOME in your environment that point to JDK 9

2. In $JLUPIN_HOME/server/configuration/setenv set the new JAVA_OPTS:

JAVA_OPTS="-Dhttps.protocols=TLSv1.0,TLSv1.1,TLSv1.2 --add-modules java.xml.bind -Xms128M -Xmx256M"

3. In $JLUPIN_HOME/server/control.sh (or control.cmd, depending on the platform that you use) add

 --add-modules java.xml.bind
option to JVM, like in the following example in Linux environment (control.sh).


eval "${JLUPIN_JAVA_EXE} -Dcontrol.upload.dir=${SCRIPT_PATH}/../upload \
                         -Dcontrol.installation.dir=${SCRIPT_PATH}/. \
                         -Dcontrol.log_path=${SCRIPT_PATH}/../logs/control/control.log \
                         -Dcontrol.configuration.file=${SCRIPT_PATH}/configuration/control.yml \
                         -Dcontrol.history_file_path=${SCRIPT_PATH}/control/control.history \
                         -Dcontrol.address=\"127.0.0.1\" \
                         -Dcontrol.ssl.client.x509Certificate=${SCRIPT_PATH}/../server-resources/ssl/client/clientX509Certificate.crt \
                         -Dcontrol.ssl.client.rsaPKCS8EncodedPrivateKey=${SCRIPT_PATH}/../server-resources/ssl/client/clientPrivateKey.pk \
                         -Dcontrol.ssl.server.x509Certificate=${SCRIPT_PATH}/../server-resources/ssl/server/serverX509Certificate.crt \
                         -cp \"${SCRIPT_PATH}/control/*\" \
                         --add-modules java.xml.bind \
                         com.jlupin.console.runner.ControlConsoleRunner ${ARGS}"

In the final release JLupin will adopt its configuration to JDK version.