Open topic with navigation

TIBCO BusinessEvents® Enterprise Edition 6.3.1

# Using OpenJDK with TIBCO BusinessEvents

Based on your requirements, you can choose to use OpenJDK with TIBCO BusinessEvents artifacts instead of using the bundled Oracle JDK.

TIBCO BusinessEvents supports the Amazon Corretto and Oracle distributions of OpenJDK for the platforms, Windows, Linux, and macOS.

Before you beginDownload the OpenJDK installation archive and extract the contents to the folder where you want to install OpenJDK. Refer to this path as OPEN_JDK_HOME.

Procedure
1. Update the following variables in the studio.ini file:

   studio.ini file for Windows
   Existing variable and value | Change to
   --- | ---
   -vm TIBCO_HOME/tibcojre64/version/bin/server | -vm OPEN_JDK_HOME/bin/server Example: -vm C:/openjdk/java/jdk-11.0.2/bin/server
   -DJDK_LIB=TIBCO_HOME/tibcojre64/version/lib | -DJDK_LIB=OPEN_JDK_HOME/lib

   studio.ini file for Linux
   Existing variable and value | Change to
   --- | ---
   -vm TIBCO_HOME/tibcojre64/version/lib/server | -vm OPEN_JDK_HOME/lib/server Example: -vm /home/apps/Installations/Java/openjdk11-11.0.2/lib/server
   DJDK_LIB=TIBCO_HOME/tibcojre64/version/lib | DJDK_LIB=OPEN_JDK_HOME/lib Example: DJDK_LIB=/home/apps/Installations/Java/openjdk11-11.0.2/lib

   studio.ini file for macOS
   Existing variable and value | Change to
   --- | ---
   -vm TIBCO_HOME/tibcojre64/version/Contents/Home/lib/jli/libjli.dylib | -vm OPEN_JDK_HOME/Contents/Home/lib/jli/libjli.dylib Example: -vm /Users/apple/Installations/Java/openjdk11-11.0.2/Contents/Home/lib/jli/libjli.dylib

2. Update the .tra files for the BE Engine and Studio Tools as follows:

   be-engine.tra for Windows
   Existing variable and value | Change to
   --- | ---
   tibco.env.TIB_JAVA_HOME=TIBCO_HOME/tibcojre64/version | tibco.env.TIB_JAVA_HOME=OPEN_JDK_HOME
   tibco.env.JVM_LIB_PATH=TIBCO_HOME/tibcojre64/version/bin/server/jvm.dll | tibco.env.JVM_LIB_PATH=OPEN_JDK_HOME/bin/server/jvm.dll
   tibco.env.JVM_LIB_DIR=TIBCO_HOME/tibcojre64/version/bin/server | tibco.env.JVM_LIB_DIR=OPEN_JDK_HOME/bin/server

   be-engine.tra for Linux
   Existing variable and value | Change to
   --- | ---
   tibco.env.TIB_JAVA_HOME=TIBCO_HOME/tibcojre64/version | tibco.env.TIB_JAVA_HOME=OPEN_JDK_HOME
   tibco.env.JVM_LIB_PATH=TIBCO_HOME/tibcojre64/version/lib/server/libjvm.so | tibco.env.JVM_LIB_PATH=OPEN_JDK_HOME/lib/server/libjvm.so
   tibco.env.JVM_LIB_DIR=TIBCO_HOME/tibcojre64/version/lib | tibco.env.JVM_LIB_DIR=OPEN_JDK_HOME/lib

   be-engine.tra for macOS
   Existing variable and value | Change to
   --- | ---
   tibco.env.TIB_JAVA_HOME=TIBCO_HOME/tibcojre64/version/Contents/Home | tibco.env.TIB_JAVA_HOME=OPEN_JDK_HOME/Contents/Home
   tibco.env.JVM_LIB_PATH=TIBCO_HOME/tibcojre64/version/Contents/Home/lib/jli/libjli.dylib | tibco.env.JVM_LIB_PATH=OPEN_JDK_HOME/Contents/Home/lib/jli/libjli.dylib
   tibco.env.JVM_LIB_DIR=TIBCO_HOME/tibcojre64/version/ Contents/Home/lib/ | tibco.env.JVM_LIB_DIR=OPEN_JDK_HOME/Contents/Home/lib

   studio-tools.tra for Windows
   Existing variable and value | Change to
   --- | ---
   tibco.env.TIB_JAVA_HOME=TIBCO_HOME/tibcojre64/version | tibco.env.TIB_JAVA_HOME=OPEN_JDK_HOME
   tibco.env.JVM_LIB_PATH=TIBCO_HOME/tibcojre64/version/bin/server/jvm.dll | tibco.env.JVM_LIB_PATH=OPEN_JDK_HOME/bin/server/jvm.dll
   tibco.env.JVM_LIB_DIR=TIBCO_HOME/tibcojre64/version/bin/server | tibco.env.JVM_LIB_DIR=OPEN_JDK_HOME/bin/server
   tibco.env.LIBPATH TIBCO_HOME/tibcojre64/version/bin/server | tibco.env.LIBPATH OPEN_JDK_HOME/bin/server

   studio-tools.tra for Linux
   Existing variable and value | Change to
   --- | ---
   tibco.env.TIB_JAVA_HOME=TIBCO_HOME/tibcojre64/version | tibco.env.TIB_JAVA_HOME=OPEN_JDK_HOME
   tibco.env.JVM_LIB_PATH=TIBCO_HOME/tibcojre64/version/lib/server/libjvm.so | tibco.env.JVM_LIB_PATH=OPEN_JDK_HOME/lib/server/libjvm.so
   tibco.env.JVM_LIB_DIR=TIBCO_HOME/tibcojre64/version/lib | tibco.env.JVM_LIB_DIR=OPEN_JDK_HOME/lib
   tibco.env.LIBPATH TIBCO_HOME/tibcojre64/version/lib | tibco.env.LIBPATH OPEN_JDK_HOME/lib

   studio-tools.tra for macOS
   Existing variable and value | Change to
   --- | ---
   tibco.env.TIB_JAVA_HOME=TIBCO_HOME/tibcojre64/version/Contents/Home | tibco.env.TIB_JAVA_HOME=OPEN_JDK_HOME/Contents/Home
   tibco.env.JVM_LIB_PATH=TIBCO_HOME/tibcojre64/version/Contents/Home/lib/jli/libjli.dylib | tibco.env.JVM_LIB_PATH=OPEN_JDK_HOME/Contents/Home/lib/jli/libjli.dylib
   tibco.env.JVM_LIB_DIR=TIBCO_HOME/tibcojre64/version/Contents/Home/lib/ | tibco.env.JVM_LIB_DIR=OPEN_JDK_HOME/Contents/Home/lib
   tibco.env.LIBPATH TIBCO_HOME/tibcojre64/version/Contents/Home/lib/ | tibco.env.LIBPATH OPEN_JDK_HOME/Contents/Home/lib/

3. (Optional) To use RMS or TIBCO BusinessEvents Enterprise Administrator Agent, update the appropriate .tra files, (be-rms.tra or be-teagent.tra) as follows:

   be-rms.tra and be-teagent.tra for Windows
   Existing variable and value | Change to
   --- | ---
   tibco.env.TIB_JAVA_HOME=TIBCO_HOME/tibcojre64/version | tibco.env.TIB_JAVA_HOME=OPEN_JDK_HOME
   tibco.env.JVM_LIB_PATH=TIBCO_HOME/tibcojre64/version/bin/server/jvm.dll | tibco.env.JVM_LIB_PATH=OPEN_JDK_HOME/bin/server/jvm.dll
   tibco.env.JVM_LIB_DIR=TIBCO_HOME/tibcojre64/version/bin/server | tibco.env.JVM_LIB_DIR=OPEN_JDK_HOME/bin/server
   (for rms.tra only) tibco.env.JDK_LIB=TIBCO_HOME/tibcojre64/version/lib | tibco.env.JDK_LIB=OPEN_JDK_HOME/lib

   be-rms.tra and be-teagent.tra for Linux
   Existing variable and value | Change to
   --- | ---
   tibco.env.TIB_JAVA_HOME=TIBCO_HOME/tibcojre64/version | tibco.env.TIB_JAVA_HOME=OPEN_JDK_HOME
   tibco.env.JVM_LIB_PATH=TIBCO_HOME/tibcojre64/version/lib/server/libjvm.so | tibco.env.JVM_LIB_PATH=OPEN_JDK_HOME/lib/server/libjvm.so
   tibco.env.JVM_LIB_DIR=TIBCO_HOME/tibcojre64/version/lib | tibco.env.JVM_LIB_DIR=OPEN_JDK_HOME/lib
   (for rms.tra only) tibco.env.JDK_LIB=TIBCO_HOME/tibcojre64/version/lib | tibco.env.JDK_LIB=OPEN_JDK_HOME/lib

   be-rms.tra and be-teagent.tra for macOS
   Existing variable and value | Change to
   --- | ---
   tibco.env.TIB_JAVA_HOME=TIBCO_HOME/tibcojre64/version/Contents/Home | tibco.env.TIB_JAVA_HOME=OPEN_JDK_HOME/Contents/Home
   tibco.env.JVM_LIB_PATH=TIBCO_HOME/tibcojre64/version/Contents/Home/lib/server/libjvm.dylib | tibco.env.JVM_LIB_PATH=OPEN_JDK_HOME/Contents/Home/lib/server/libjvm.dylib
   tibco.env.JVM_LIB_DIR=TIBCO_HOME/tibcojre64/version/Contents/Home/lib/ | tibco.env.JVM_LIB_DIR=OPEN_JDK_HOME/Contents/Home/lib/
   (for rms.tra only) tibco.env.JDK_LIB=TIBCO_HOME/tibcojre64/version/Contents/Home/lib | tibco.env.JDK_LIB=OPEN_JDK_HOME/Contents/Home/lib

4. To view the changes that you make in the .tra files, restart TIBCO BusinessEvents Studio and other components such as RMS and TIBCO BusinessEvents Enterprise Administrator Agent.

Did you find this helpful?

YesNo
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO BusinessEvents® Enterprise Edition

Copyright © 2004-2024. Cloud Software Group, Inc. All Rights Reserved.