KB Article #179225
JRE8 with update version containing 3 digits is not handled correctly by the Installer
Problem
Some installation packages include JRE_u121 but this is currently not handled properly by the Installer.
You will face the following issue:
2017-12-13 10:00:26 BaseInstallerExceptionHandler.java:59 FATAL An internal error prevented Axway Installer from continuing:
There are names in the java folder not matching the expected pattern
An internal error prevented Axway Installer from continuing:
There are names in the java folder not matching the expected pattern
at com.axway.synchronyInstaller.engine.SynMain.main(SynMain.java:203)
Caused by:
com.axway.installer.exception.validation.jre.InvalidJREException: There
are names in the java folder not matching the expected pattern
at com.axway.installer.jre.JreBuilder.buildJreObject(JreBuilder.java:76)
at com.axway.installer.jre.JreBuilder.buildJreObject(JreBuilder.java:40)
at com.axway.installer.components.Component.setJavaHome(Component.java:49)
at com.axway.installer.components.Component.setJavaHome(Component.java:40)
at com.axway.installer.components.ComponentFactory.build(ComponentFactory.java:149)
at com.axway.installer.core.InstallerResourceFactory.buildInstallerResource(InstallerResourceFactory.java:36)
at com.axway.installer.installations.InstallationFactory.build(InstallationFactory.java:126)
at com.axway.installer.installations.InstallationFactory.build(InstallationFactory.java:1)
at com.axway.installer.core.InstallerResourceFactory.buildInstallerResource(InstallerResourceFactory.java:36)
at com.axway.synchronyInstaller.engine.SynchronyInstallManager.buildInstallationObject(SynchronyInstallManager.java:372)
at
com.axway.synchronyInstaller.engine.SynchronyInstallManager.setSynchronyInstallDirectory(SynchronyInstallManager.java:304)
at com.axway.synchronyInstaller.engine.SynUserDialogDirectory.evaluateNext(SynUserDialogDirectory.java:235)
at com.axway.synchronyInstaller.engine.SynDialogManager.evaluateNext(SynDialogManager.java:688)
at com.axway.synchronyInstaller.engine.SynDialogManager.executeDialog(SynDialogManager.java:253)
at com.axway.synchronyInstaller.engine.SynMainUpdate.patch(SynMainUpdate.java:51)
at com.axway.synchronyInstaller.engine.SynMainAction.action(SynMainAction.java:352)
at com.axway.synchronyInstaller.engine.SynMain.mainExecution(SynMain.java:211)
at com.axway.synchronyInstaller.engine.SynMain.main(SynMain.java:167)
Resolution
You can follow the procedure below to bypass the issue:
1/ Rename the folder jre8_u121 by jre8_u12
2/ Edit all the properties files that are located in the <root_folder>/Configuration folder and change the Component.JavaHome path by the new one for each file:
Example:
Component.JavaHome = C:\\Axway\\Gateway6172\\Java\\win-x86\\jre8_u121
by
Component.JavaHome = C:\\Axway\\Gateway6172\\Java\\win-x86\\jre8_u12