Support Article
Personal Edition install fails due to jvm library error
SA-29586
Summary
Pega Personal Edition (PE) fails to install due to a JVM library error.
Error Messages
Picked up JAVA_TOOL_OPTIONS: -agentlib:jvmhook
Picked up _JAVA_OPTIONS: -Xrunjvmhook -Xbootclasspath/a:C:\PROGRA~2\SOME_PATH\CLASSES;C:\SOME_OTHER_PATH;
Error occurred during initialization of VM
Could not find agent library jvmhook on the librarypath, with error: %1 is not a valid Win32 application
Steps to Reproduce
Run the PE install program on Windows.
Root Cause
The environment variables JAVA_TOOL_OPTIONS and _JAVA_OPTIONS are making incorrect modifications to your Java environment. Some Java automation programs such as HP Quick Test Professional make these modifications to the environment and they may interfere with Pega (and, if incorrectly applied, can prevent all java programs from running).Resolution
In Windows Environment Variables, remove the values of the environment variables JAVA_TOOL_OPTIONS and _JAVA_OPTIONS. Note - by renaming these JAVA_TOOL_OPTIONS_BACKUP and _JAVA_OPTIONS_BACKUP you have an easy method of restoring these values from backup should you need to use them again.
A restart is required after changing environment variables.
Published October 28, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.