猫粮的菠萝阁 2010是自动化年

12三/090

Vista 64, Ant, MXMLC, Java/JVM, problem and solution

发布在 CaTFooD

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 2 Runtime Environment.

This may be because you installed the latest 64bit .

The fix:

- Download the latest version of the JRE 1.5 release (1.6+ doesn't seem to work)

- Edit C:\Program Files ()\\Flex Builder 3\sdks\3.2.0\bin\jvm.config

- Set .home to:

.home=C:/Program Files ()//jre1.5.0_17

Other symptoms that you might encounter include:

Error: could not find a JVM

Error loading: C:/Program Files//jre1.5.0_17\bin\server\jvm.dll

Hope this saves someone some time.

标签:, , , , ,