'checkinstall' for Clarity PPM 15.5.1 fails because of incorrect version of Java

book

Article ID: 124929

calendar_today

Updated On:

Products

CLARITY PPM FOR ITG CLARITY PPM FEDERAL Clarity PPM SaaS - Application Clarity PPM On Premise

Issue/Introduction

When trying to run 'checkinstall' from Clarity PPM 15.5.1, execution fails with the following error:

------------------------------------------------------
You are running with Java version 11+28.
Niku requires JDK 11.0. Please update your JAVA_HOME
setting to point to the correct JDK directory and try again.
------------------------------------------------------

Cause

'checkinstall' is checking for a Java version that does not match the one bundled in the install media.

Environment

Clarity PPM 15.5.1.

Resolution

Please modify the file 'gateway.xml' from the checkinstall folder (in your Clarity PPM installation folder).

Replace line 10:
<contains string="${java.version}" substring="11.0"/>

with:
<matches string="${java.version}" pattern="^11.*"/>