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

Document ID : KB000124929
Last Modified Date : 29/01/2019
Show Technical Document Details
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.
Clarity PPM 15.5.1.
'checkinstall' is checking for a Java version that does not match the one bundled in the install media.
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"/>

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