12三/090
Vista 64, Ant, MXMLC, Java/JVM, problem and solution
If you encounter problems running the ant builds on vista 64 and see this error in the Flex Builder console:
Error: could not find JRE
Error: could not find Java 2 Runtime Environment.
This may be because you installed the latest 64bit java runtime.
The fix:
- Download the latest x86 version of the Java JRE 1.5 release (1.6+ doesn't seem to work)
- Edit C:\Program Files (x86)\Adobe\Flex Builder 3\sdks\3.2.0\bin\jvm.config
- Set java.home to:
java.home=C:/Program Files (x86)/Java/jre1.5.0_17
Other symptoms that you might encounter include:
Error: could not find a JVM
Error loading: C:/Program Files/Java/jre1.5.0_17\bin\server\jvm.dll
Hope this saves someone some time.
标签:adobe, Java, java runtime, mxmlc, x86, xml