How to switch the JDK 17 in TIBCO Data Virtualization 8.8 to a higher JDK 17?

How to switch the JDK 17 in TIBCO Data Virtualization 8.8 to a higher JDK 17?

book

Article ID: KB0070146

calendar_today

Updated On:

Products Versions
TIBCO Data Virtualization 8.8

Description

This article explains the steps to switch the JDK 17 in TIBCO Data Virtualization 8.8 to a higher JDK 17.

Out of the box, the TDV 8.8 version comes with JDK 17.0.7.
 C:\Program Files\TIBCO\TDV Server 8.8_9430\jdk\bin>java -version java version "17.0.7" 2023-04-18 LTS Java(TM) SE Runtime Environment (build 17.0.7+8-LTS-224) Java HotSpot(TM) 64-Bit Server VM (build 17.0.7+8-LTS-224, mixed mode, sharing)
Screenshot for reference: 
User-added image

Issue/Introduction

How to switch the JDK 17 in TIBCO Data Virtualization 8.8 to a higher JDK 17?

Resolution

For this article, let's assume we are trying to upgrade TDV 8.8's JDK 17.0.7 to 17.0.11

Pre-requisite: Download the latest JDK 17.0.11 for your operating system from Oracle's website.
Link: https://www.oracle.com/java/technologies/downloads/?er=221886#java17

1. Take a Full Server Backup of the TDV Server that is being upgraded to JDK 17.0.11
2. Stop all TDV services: server/monitor, repository, cache and Studio 
3. Rename the existing JDK folder. For example, rename:
           <TDV_install_dir>\jdk
To:
           <TDV_install_dir>\jdk_ORIG
4.  Install/Copy JDK 17.0.11 folder to <TDV_install_dir> and ensure that the folder name is :
           <TDV_install_dir>\jdk
i.e. it should not be something different, such as:
           <TDV_install_dir\>jdk17
5.  Restart the TDV services (TDV server/monitor, repo, cache, and Studio).
6.  Verify that the correct JDK is being used by looking in the cs_server.log for a line of this type: 
--------------
INFO [main] 2024-07-02 14:45:28.087 +0000 BasicServicesModule - JRE Version=17.0.11
---------------

User-added image