This is my gateway.xml in the checkinstall folder
<!-- Copyright (c) 2011, CA Inc. All rights reserved. -->
<project name="gateway" default="gateway" basedir=".">
<property name="target.ant.file" value="checkinstall.xml"/>
<target name="gateway">
<property name="check.install.target" value="checkinstall" />
<condition property="j2sdk.pass">
<contains string="${java.version}" substring="11.*"/>
</condition>
<fail unless="j2sdk.pass">
FAILURE: INCORRECT JAVA VERSION
------------------------------------------------------
You are running with Java version ${java.vm.version}.
Niku requires JDK 11.0. Please update your JAVA_HOME
setting to point to the correct JDK directory and try again.
------------------------------------------------------
</fail>
<ant antfile="${target.ant.file}" target="${check.install.target}"/>
</target>
</project>
this is how my checkinstall goes
D:\1551\checkinstall>checkinstall
Buildfile: D:\1551\checkinstall\gateway.xml
gateway:
BUILD FAILED
D:\1551\checkinstall\gateway.xml:12: FAILURE: INCORRECT JAVA VERSION
------------------------------------------------------
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.
------------------------------------------------------
Total time: 0 seconds
D:\1551\checkinstall>
SumanPramanik please advice
What do I do next the get past the error?