LR uses Java user Protocol Environment error Please add the <jdk>\bin to the path and try again

Source: Internet
Author: User

Look at the title error message will know that this is the Java compilation and run environment configuration problem, when running the LR script, LR Proxy can not find the Java JDK Environment, of course, some people may encounter said, I am in the cmd window javac environment is no problem ah, yes, it depends on what version of your JDK is related, Then java-version see what version of your JDK it is, how many bits it has.

In order to completely solve the LR scripting environment Operation error problem, the following steps are as follows:

One, configure or reinstall the configuration Java environment variables

Specific how to configure, online Baidu has a lot, I simply write it (in my own computer Configuration):

1, java_home:c:\java\jdk1.6.0_43

2, Classpath:;%java_home%\lib\dt.jar;%java_home%\lib\tools.jar;

3, Path:%java_home%\bin;%java_home%\jre\bin (Note: This is added after the original path)

Second, to solve the problem of environmental error, need to use LoadRunner 9.5/11 supported JDK version, the specific information is as follows:

1. Installation of Windows 32-bit operating system LoadRunner 9.5/11 using Java vuser necessary configuration
(1) Operating system: Windows 32-bit system (Windows7 32-bit test pass)
(2) JDK version: jdk1.6 32-bit (jdk1.6 test passed, current LR does not support 1.7 and above)
(3) jdk1.7 and above the development of the script, the operation will be error, the reason LR does not support JDK1.7 and above, if the environment OK, you need to create a new test script.

2. Installation of Windows 64-bit operating system LoadRunner 9.5/11 using Java vuser necessary configuration
(1) Operating system Windows (Windows 7 64-bit test pass)
(2) JDK 1.6 must be 32-bit (although the operating system is 64-bit), cannot be a 64-bit JDK, the current JDK 1.6 32-bit on the re-Windows 7 64-bit test pass.

Otherwise, there will be an error message

 

LR uses Java user Protocol Environment error Please add the <jdk>\bin to the path and try again

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.