tags:

views:

87

answers:

1

When I run an executable I created, it uses the jvm.dll from C:\Windows\System32. But I want it to use the jvm.dll in C:\Program Files\Java\jdk1.6.0_17\jre\bin\server.

C:\Program Files\Java\jdk1.6.0_17\jre\bin\server is in my PATH environment variable.

Does anyone know how to accomplish this?

Thanks.

A: 

Is your jdk1.6.0_17 path before the windows\system32 path in your PATH variable?

Another thing to try would be to set "JAVA_HOME" to the root directory of your non-system32 JRE install.

Andy White
Thanks for the response.I have my jdk1.6.0_17 path as the very first path.I already have JAVA_HOME set to C:\Program Files\Java\Jdk1.6.0_17.Any other ideas?
Brittany