Lab Purpose: How to enable loadrunner11 to successfully call Java developed by ECLIPSECode
My System Configuration: Win7 + loadrunner11 + jdk1.5 + eclipse3.2
Procedure:
1. Install JDK and configure the environment variables classpath and path as follows:
Classpath:
.; C: \ Program Files (x86) \ Java \ jdk1.5.0 _ 22 \ Lib \ DT. jar; C: \ Program Files (x86) \ Java \ jdk1.5.0 _ 22 \ Lib \ tools. jar
Path:
C: \ Program Files (x86) \ Java \ jdk1.5.0 _ 22 \ bin; C: \ Program Files (x86) \ Java \ jdk1.5.0 _ 22 \ JRE \ bin; C: \ Program Files (x86) \ HP \ LoadRunner \ bin
(For specific implementation, replace the address with your JDK installation directory)
Note: you must add ".;" to classpath ".;"
2. to test whether the JDK environment is configured successfully, choose Start> Run and Enter cmd. In the DOS window, enter Java-version, see the JDK version, and enter: javac confirms that JDK environment configuration is OK. If the following figure is displayed, congratulations to the completion of JDK environment configuration.