In LoadRunner 11, the following error is displayed in the replay log of a Java script (Java Record Replay, Java Over HTTP, Java Vuser):
Error: Failed to find java
As mentioned in the LoadRunner 11 readme, VuGen recording is not supported on 64-bit applications. However 32-bit applications can be recorded on 64-bit operating systems.
This error message appears if the 64-bit version of the Java SDK has been installed on the machine.
To fix this issue
· Uninstall the 64-bit version of the Java SDK,
· Install the 32-bit version of the Java SDK.
Note: LoadRunner 11 does not currently support Java 7