CA PAM Client Installation Hangs at 6%
search cancel

CA PAM Client Installation Hangs at 6%

book

Article ID: 442688

calendar_today

Updated On:

Products

CA Privileged Access Manager (PAM)

Issue/Introduction

A previous version of CA PAM client gives "Cannot create JVM" error popup during launch.
After this pop-up message the CA PAM client is uninstalled and when the customer attempts to re-install, the CA PAM Client installer hangs indefinitely at 6% (immediately following the license agreement).

Environment

Operating System: Windows 11
Product: CA Privileged Access Manager (PAM) Client, version 4.2.x

Cause

The CA PAM installation log has the specific error **`java.lang.UnsatisfiedLinkError: ...\management_ext.dll: Can't find dependent libraries`** is a definitive indicator that the Java Virtual Machine (JVM) is unable to load a critical system library because its dependencies (the Microsoft Visual C++ Redistributable runtimes) are missing from the host operating system.

Technical Log Signature (Debug Mode):** When running the installer with **Ctrl+Alt**, the console reports the following stack trace:

    Exception in thread "installer" java.util.ServiceConfigurationError: sun.management.spi.PlatformMBeanProvider...
    Caused by: java.lang.UnsatisfiedLinkError: ...\bin\management_ext.dll: Can't find dependent libraries
    ```
    *Note: The "Can't find dependent libraries" error for JRE DLLs confirms that required Windows system runtimes are missing.*

The likely Root Cause are as below:

1.  **Missing MSVC++ Runtimes:** The internal Java engine (OpenJDK 17/11) bundled with the installer cannot load its native libraries (`.dll`) without the **Microsoft Visual C++ Redistributable** packages. Either this installation is corrupted or the specific file management_ext.dll is blocked by the Antivirus software.
2.  **Environment Variable Overrides:** Existing `_JAVA_OPTIONS` or `JAVA_TOOL_OPTIONS` in the system environment may conflict with the installer's required settings.
3.  **Temp Directory Restrictions:** Strict permissions on the default Windows `%TEMP%` folder can prevent the installer from unpacking the required JRE components

 

Resolution

**Step 1: Install Required Microsoft Components (Primary Fix)**

1.  Download and install the **Microsoft Visual C++ 2015-2022 Redistributable**.
 **IMPORTANT:** You must install **both the x86 (32-bit) and x64 (64-bit)** versions. Even on 64-bit Windows 11, the installer's Java initialization often depends on the 32-bit (x86) runtime libraries.
2.   Download link: [Latest supported Visual C++ Redistributable](https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist). -- This link may change based on the vendor, here Microsoft.

**Step 2: Use the Windows 7 Compatibility Workaround**

If the OS version check causes the installer to stall, set a temporary system variable:
1.  **Variable Name:** `JAVA_TOOL_OPTIONS`
2.  **Variable Value:** `"-Dos.name=Windows 7"`
3.  Attempt the installation again.

**Step 3: Redirect the Installation Temp Path** To rule out permission issues in the user's profile:

1.  Create `C:\InstallTemp`.
2.  Open a Command Prompt as **Administrator**.
3.  Run:
    cmd
    set TEMP=C:\InstallTemp
    set TMP=C:\InstallTemp
    capam_client_install.exe

**Step 4: Verify Success**
Once the redistributables are installed, the `UnsatisfiedLinkError` should no longer appear in the debug console, and the progress bar should advance past 6%.