开发者

loading wrong jvm.dll

开发者 https://www.devze.com 2022-12-24 08:52 出处:网络
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:\\Prog开发者_开发百科ram Files\\Java\\jdk1.6.0_17\\jre\\bin\\server.

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:\Prog开发者_开发百科ram 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.


To solve this problem use same bit software mean if you are using 32bit Flex sdk then use 32 bit jdk and if you are using 64 bit Flex sdk then use 64 bit jdk


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.


c:\windows\system32\java.exe is just a hook

and it loads default jvm from program files

do you know which one is it loading in your case?

0

精彩评论

暂无评论...
验证码 换一张
取 消