Problem Statement:
When trying to run (or record with) a Java Virtual User (or java record and replay), the following error message occured:
"Error -22994 : Error:Unable to create Java VM. [MsgId: MERR-22994]
Resolution:
Check the Java add-in and the System variables Path and Classpath
1. This error usually means that the PATH and the CLASSPATH environment variables are not set properly. (Check whether any other tools like QTP or Winrunner is not installed on the system previously, as it sets its own custom variables related to java hook and path)
2. Delete ini file for Vugen:
a. Shutdown Vugen.
b. Go to (Window install directory) and look for vugen.ini. Delete the file. LoadRunner will recreate new configuration file when VuGen is launched.
c. Launch VuGen and run the script again.
When trying to run (or record with) a Java Virtual User (or java record and replay), the following error message occured:
"Error -22994 : Error:Unable to create Java VM. [MsgId: MERR-22994]
Resolution:
Check the Java add-in and the System variables Path and Classpath
1. This error usually means that the PATH and the CLASSPATH environment variables are not set properly. (Check whether any other tools like QTP or Winrunner is not installed on the system previously, as it sets its own custom variables related to java hook and path)
2. Delete ini file for Vugen:
a. Shutdown Vugen.
b. Go to (Window install directory) and look for vugen.ini. Delete the file. LoadRunner will recreate new configuration file when VuGen is launched.
c. Launch VuGen and run the script again.
No comments:
Post a Comment