Highlighted
Absent Member.
Absent Member.
4750 views

"Could not create the java virtual machine" error occurred for Java Over Http protocol

Jump to solution

Hi All,

 

We are facing "Could not create the java virtual machine" error while invoking the Java client using JNLP from Load Runner.

 

The following are the system configurations and other details

1. Operating system : Windows XP Professional version 2002 service pack 3
2. Physical Memory: 2 GB
3. Virtual Memory set: 4096 MB
4. Load Runner : version 11 with patch 04
5. Protocol : JOH (Java over Http)

 

We have gone through all the articles given in the LR knowledge base and followed all the solutions given but we could not able resolve the issue.

the following are the articles that we have gone through for this issue

http://support.openview.hp.com/selfsolve/document/KM860998?searchIdentifier=7714bf32:13710d01115:738&resultType=document&documentURL=KM860998&resultsURL=/selfsolve/documents&allowReturn=truehttp://support.openview.hp.com/selfsolve/document/KM837249?searchIdentifier=7714bf32:13710d01115:738&resultType=document&documentURL=KM837249&resultsURL=/selfsolve/documents&allowReturn=true

http://support.openview.hp.com/selfsolve/document/KM792242?searchIdentifier=7714bf32%3a13710d01115%3a738&resultType=document&documentURL=KM792242&resultsURL=%2fselfsolve%2fdocuments&allowReturn=true

 

we have updated additional VM parameters as suggested in recording options but this could not resolve our problem and also tried by removing the (-Xms and -Xmx) heap allocation in the .JNLP file as per another suggestion.

 

appreciate if any one can help us here to resolve the issue and please let us know if any other details required.

 

I have attached the JNLP file and error that we encountered during recording.

 

Thanks.

 

Mallik.

 

 

Tags (1)
0 Likes
1 Solution

Accepted Solutions
Highlighted
Absent Member.
Absent Member.

Re: "Could not create the java virtual machine" error occurred for Java Over Http protoco

Jump to solution

This issue has been resolved with the help of HP technical support and the solution is to create and use Batch file to invoke the application instead of JNLP file.

 

 

View solution in original post

4 Replies
Highlighted
Absent Member.
Absent Member.

Re: "Could not create the java virtual machine" error occurred for Java Over Http protoco

Jump to solution

This issue has been resolved with the help of HP technical support and the solution is to create and use Batch file to invoke the application instead of JNLP file.

 

 

View solution in original post

Highlighted
New Member.

Re: "Could not create the java virtual machine" error occurred for Java Over Http protoco

Jump to solution

Hi,

 

Could you please elaborate on the solution that you got, Since we are also facing the same issue.

 

Quick response is appreciated.

 

Thanks,

VS107

0 Likes
Highlighted
Trusted Contributor.
Trusted Contributor.

Re: "Could not create the java virtual machine" error occurred for Java Over Http protoco

Jump to solution
Am also facing the same issue. I tried to launch jnlp from BATCH but getting "Could not create the java virtual machine". Can you please help me with the parameters to be update while launching with Java over http java settings.
0 Likes
Highlighted
New Member.

Re: "Could not create the java virtual machine" error occurred for Java Over Http protoco

Jump to solution

Open the Control Panel
Go to System
Go to Advanced Systems Properties
Then Environment Variables
In System Variables, click Add
New Variable Name: _JAVA_OPTIONS
New Variable Value: -Xmx512M
Click OK

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.