Upgrading to 16.0, Invalid JDK directory
search cancel

Upgrading to 16.0, Invalid JDK directory

book

Article ID: 229314

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

When upgrading to 16.0, the install script gives a warning for the JDK version for the Java included in the install (jdk-11.0.11+9) 

Expanding: $clarity_install_media_16/thirdparty.libs.16.0.0.jar into $clarity_install_media_16/tplibsdir

Current version: 15.9.2.910
Upgrading to:    16.0.0.890
Trying to override old definition of task java
init:
_dbBackupCheck:
  CA PPM upgrade from 15.9.2 to 16.0.0 detected.

J2SDK 1.6.0 (or higher) Home Directory [/opt/apps/jdk-11.0.11+9] :
Warning: Invalid JDK directory.
Keep this value and continue? [(y)es, (n)o]

STEPS TO REPRODUCE: 

  1. On a Clarity 15.9.2 install, run the 'setup.bat' for Clarity 16.0
  2. Proceed through the steps, until you reach the step when the J2SDK directory is specified, ensure that the path is pointing to the proper: jdk-11.0.11+9 folder

Environment

Release : 16.0.0

Component : Clarity Install and Upgrade

Resolution

Fixed in 16.0.1 as DE63068

Workaround:

  1. Delete the file: $install16.0.0/upgrade/release-overrides/15.9.3/preexecute/setup-props.xml
  2. Reopen the command prompt and start the upgrade again

Alternatively, you can just ignore the warning and continue with the install with the current, correct JDK value for JDK 11. The upgrade will not be affected.