LoadRunner User Discussions
cancel

Cannot load classes in java

Highlighted
abhishek1208
Frequent Visitor.

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
Outstanding Contributor.. JHF Remmelzwaal Outstanding Contributor..
Outstanding 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
Frequent Visitor.

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!