Avatar of esb91077
 asked on

Error occurred during initialization of VM

I installed some software that setup JAVA_OPTIONS and JAVA_TOOL_OPTIONS environment variables. Now that software runs ok but all of my other java apps throw this error:
Error occurred during initialization of VM
Could not find agent library on the library path or in the local directory: jvmhook
Picked up JAVA_TOOL_OPTIONS: -agentlib:jvmhook
Picked up _JAVA_OPTIONS: -Xrunjvmhook -Xbootclasspath/a:C:\QTPINS~1\bin\JAVA_S~1\classes;C:\QTPINS~1\bin\JAVA_S~1\classes\jasmine.jar

I put the jvmhook.dll file in the same directory where my app is running from but still get the issue.
Anyone have any idea?

Avatar of undefined
Last Comment

8/22/2022 - Mon

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

I tried that already. I openend a command prompt and copied the file to the directory. But it still comes back with this message.

Can you copy the whole content of the command window please, starting from the prompt and attempted invocation?

Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes