How to force the Java Vuser to use a different version of Java Virtual Machine

How to force the Java Vuser to use a different version of Java Virtual Machine

The Java Vuser uses the Java Development Kit (JDK) installed locally on the system. How can the user configure Virtual Users to use a different version of JDK?

Add the desired \bin directory to the system PATH variable

Adding <JDK>\bin to the system PATH variable will force the Java Vuser to use it during execution. The system PATH variable can be modified as follows:

1. Right-click on the "My Computer" icon on the desktop.
2. Select Properties -> Advanced -> Environment Variable.
3. Add the desired JDK’s bin directory to the PATH environment variable.
4. Remove the old <JDK>\bin from the PATH variable or it should be after the bin path of the desired JDK.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s