"ant upgrade-jre" command fails when trying to upgrade Catalog JRE with the following error messages from the Service Catalog - Command Prompt (accessible under Start Menu).
The following is sample output to upgrade to JRE 11.0.2
[input] Location of new Oracle JRE:
D:\Program Files\Java\jre11.0.2\bin
[input] What is the version of the new Oracle JRE (e.g. 11.0.2):
11.0.2
BUILD FAILED
D:\Program Files\CA\Service Catalog\build.xml:1131: Catalog requires a server Java HotSpot(TM) Server VM
CA Service Catalog 17.4 or higher
Path must be supplied correctly
When prompted for the JRE location you should not specify the bin subfolder - in this case that would be "D:\Program Files\Java\jre1.8.0_45"
For later releases of SDM (17.4) the version of JRE that should be used is between 11.0.2 to 11.99.99