NOTICE: Branded Content
NOTICE: 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.
LoadRunner User Discussions
cancel

Cannot load classes in java

Highlighted
abhishek1208
Member.

Cannot load classes in java

I've installed vugen on a windows xp with JDK 1.7 32 bit. The classpaths were already configured. I'm new to loadrunner, and I noticed that even a for loop triggered 
"Cannot define class" error. How should i reconfigure everything and make sure that application requirements are met. I'm using Java over HTTP protocol. Can someone please guide me through?

2 REPLIES
JHF Remmelzwaal Honored Contributor.
Honored Contributor.

Re: Cannot load classes in java

The error does not indicate a Java setup issue, at least that is my first reaction based on the error.

What happen when you start with a empty/new Java project and add a simple:

lr.message("Hallo world");

Try to compile and run it.

You might also attach your code to this thread so others might look to it.

 

abhishek1208
Member.

Re: Cannot load classes in java

It shows the error
Cannot find JRE version
It says to add <JDK>\bin path but I already did it!