[英]FLEX java.home PATH backslashes
I've writed in my config.jvm: 我已经在config.jvm中写了:
java.home=C:/Program Files/Java/jre6
but when i write in my console mxmlc.exe it gives me an error: 但是当我在控制台mxmlc.exe中编写时,它给了我一个错误:
Error loading: C:/Program Files/Java/jre6\bin\server\jvm.dll
it adds a backslashes to the path automatically, but if i write the full path to the jvm.dll like this: 它会自动在路径中添加反斜杠,但是如果我将完整路径写入jvm.dll,如下所示:
java.home=C:/Program Files/Java/jre6/bin/server
it gives me an error: 它给我一个错误:
Could not find a JVM
what can I do? 我能做什么?
I am on Windows 7 我在Windows 7上
According to this blog post , you need to use the 32-bit JRE in Program Files (x86)
(whereas the one in Program Files
is 64-bit). 根据此博客文章 ,您需要在
Program Files (x86)
使用32位JRE(而Program Files
是64位)。 So: 所以:
java.home=C:\Program Files (x86)\Java\jre6
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.