Fix Readme
Abstract
Updating the version of IBM Semeru Runtime Environment, Java Technology Edition that is provided with IBM Watson Explorer Foundational Components, version 12.0.3.17 or later.
Content
Procedures for Linux:
IBM Semeru Runtime may be present in one or more of the following folders. You need to update it under each of the listed folders.
- /opt/ibm/WEX/Engine/java
- /opt/ibm/WEX/AppBuilder/java
- /opt/ibm/WEX/ZooKeeper/java
Follow the steps after you download the required version of IBM Semeru Runtime for your operating system from Fix Central. The folders and file names used in the steps are shown for example purpose only. Replace the sample file name with the name of the file that you downloaded.
- Download the required IBM Semeru Runtimes version from IBM Semeru Runtimes Downloads.
Note: IBM Semeru Runtime version 21 is supported except AppBuilder. AppBuilder supports IBM Semeru Runtime version 8. Using other versions (e.g. 25) causes compatibility issues. - Copy the java.tgz file that you downloaded into the directory. Do this for all the folders as shown in the example:
- cp ibm-semeru-open-jre_x64_linux_21.0.9_10_openj9-0.56.0.tar.gz /opt/ibm/WEX/Engine/java
- cp ibm-semeru-open-jre_x64_linux_21.0.9_10_openj9-0.56.0.tar.gz /opt/ibm/WEX/ZooKeeper/java
- cp ibm-semeru-open-jre_x64_linux_8u472b08_openj9-0.56.0.tar.gz /opt/ibm/WEX/AppBuilder/java
- Shut down the following services in order:
- service appbuilder-service stop
- service zookeeper-service stop
- /opt/ibm/WEX/Engine/bin/velocity-shutdown
- Uncompress the .tgz file that you copied earlier using gunzip. Do this for all the folders.
For example, Fgunzip ibm-semeru-open-jre_x64*.tgz - Extract the JRE from the tar file. Perform this for all the folders:
- tar --strip-components=1 -xvf ibm-semeru-open-jre_x64_*.tar
- Extracting the JRE unpacks the files into the correct locations.
- Change the ownership of the new files to the correct owner and group, on the directory where you extracted the JRE:
- cd /opt/ibm/WEX/AppBuilder
chown -R wex-appbuilder:ibm-wex java - cd /opt/ibm/WEX/ZooKeeper
chown -R wex-zookeeper:ibm-wex java - cd /opt/ibm/WEX/Engine/java
chown -R apache:apache jre properties docs copyright *.txt
- cd /opt/ibm/WEX/AppBuilder
- Restart the following services in order:
- /opt/ibm/WEX/Engine/bin/velocity-startup
- service zookeeper-service start
- service appbuilder-service start
Procedures for Windows:
- C:\Program Files\IBM\WEX\Engine\java
- C:\Program Files\IBM\WEX\AppBuilder\java
- C:\Program Files\IBM\WEX\ZooKeeper\java
Follow these steps after you download the required version of IBM Semeru Runtime for your operating system from Fix Central. The file names in these steps are shown for example purposes. Replace the sample file name with the name of the file that you downloaded.
- Copy the java .zip file that you downloaded into the directory. Do this for all the folders as shown in the example:
If you use Windows Explorer, you can drag the .zip file from where you downloaded it to the top level of the Engine directory.- copy ibm-semeru-open-jre_x64_windows_21.0.9_10_openj9-0.56.0.zip C:\Program Files\IBM\WEX\Engine
- copy ibm-semeru-open-jre_x64_windows_21.0.9_10_openj9-0.56.0.zip C:\Program Files\IBM\WEX\ZooKeeper
- copy ibm-semeru-open-jre_x64_windows_8u472b08_openj9-0.56.0.zip C:\Program Files\IBM\WEX\AppBuilder
- Shut down the following services in order:
- Use "Services" to stop AppBuilder
- Use "Services" to stop ZooKeeper
- Stop the Engine: C:\Program Files\IBM\WEX\Engine\bin\velocity-shutdown.exe
- Extract the JRE from the zip file that you copied in the java.zip file earlier. Do this for all the folders.
cd "C:\Program Files\IBM\WEX\Engine" Expand-Archive -Path ibm-semeru-open-jre_x64_windows_21.0.9_10_openj9-0.56.0.zip -DestinationPath . Remove-Item -Path "java" -Recurse -Force name-Item -Path "jdk-21.0.9+10-jre" -NewName "java"- If you use Windows Explorer, double-click the .zip file and extract all files.
- Restart Watson Explorer Engine, ZooKeeper, and AppBuilder in order:
- C:\Program Files\IBM\WEX\Engine\bin\velocity-startup.exe
- Use "Services" to start ZooKeeper
- Use "Services" to start AppBuilder
Was this topic helpful?
Document Information
Modified date:
16 December 2025
UID
ibm17254891