ALM 15 installation error on Windows Server 2019

  • KM03604569
  • 02-Mar-2020
  • 25-Mar-2021

Summary

ALM 15 installation error on Windows Server 2019

Error

What is the problem?

When trying to install ALM server on Windows Server 2019 with JDK/JREs which contain fix to recognize Windows Server 2019 correctly, installation may be failed during launching the installer and you will get an exception like below...

Flexeraaw_$aaa: Windows DLL failed to load at Flexeraaw_.af(Unknown Source) at Flexeraaw_.aa(Unknown Source) at com.zerog.ia.installer.LifeCycleManager.init(Unknown Source) at com.zerog.ia.installer.LifeCycleManager.executeApplication(Unknown Source) at com.zerog.ia.installer.Main.main(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.zerog.lax.LAX.launch(Unknown Source) at com.zerog.lax.LAX.main(Unknown Source)

Cause

Why does it happen?

The InstallAnywhere version used by ALM installer cannot work on Windows Server 2019 by default. The bug in old JDK/JREs that recognize Windows Server 2019 as Windows Server 2016 help to make a workaround the issue. Once after the bug fixes, InstallAnywhere fails to work and the problem occurs.

Fix

How to solve it?

To make the workaround works as previous, we recommend you set the following environment variable for Java before installing ALM.

JAVA_TOOL_OPTIONS= "-Dos.name=Windows Server 2016"

If the variable already exists, append the value "-Dos.name=WindowsServer2016" to it.

Also, you need to remove the value from the variable after the installation in case it affects other Java application.