Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经安装了 java JDK,当我打开控制台(Windows 7)并编写 javac.exe 或 java.exe 时,一切正常,但是当我编写 mxmlc.exe 时,它给我一个错误,即没有 Java 运行时环境,如何解决这个问题?
可能是因为 javac.exe 和 java.exe 是 jdk 内 jre 的一部分。jre 的 /bin 在你的路径上,jdk 的 /bin 不在。
编辑:你还需要让 JAVA_HOME 指向正确的目录
请务必安装 32 位版本的 JRE。这似乎是 Flex SDK 4.6 所期望的。