After launching an APM Agent install, seeing error: "LaunchAnywhere Error - windows error 2 occurred while loading Java VM."

book

Article ID: 5767

calendar_today

Updated On:

Products

APP PERF MANAGEMENT CA Application Performance Management Agent (APM / Wily / Introscope) CUSTOMER EXPERIENCE MANAGER INTROSCOPE

Issue/Introduction

 Getting an Windows Error message while launching the Agent installer.  The title of the dialog box is LaunchAnywhere Error and the message is "Windows Error 2 occured While loading the Java VM.

<Please see attached file for image>

Capture.JPG

 

Cause

The problem is the compatibility between the LaunchAnywhere installer application and finding the Java VM location.  Note that this happens even if the Java VM is configured correctly with its Environmental Variables.

Environment

This can happen with any version of the installer.

Resolution

When running the installer you need to add the parameter LAX_VM to this installation command.  From the command prompt.

IntroscopeAgent<version>windows.exe LAX_VM <path_to_JVM>

For example: InstallXYZ.exe LAX_VM C:\Program Files (x86)\Java\jre6\bin\java.exe

Attachments

1558707812245000005767_sktwi1f5rjvs16qtw.jpeg get_app