Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Personal Edition install fails due to jvm library error



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).


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

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us