Thursday 15 April 2010

FlashDevelop: Unable to start java.exe: The system cannot find the file specified

1. Find the jvm.config file in /flex_sdk/bin/
2. Set java.home= to point to the Java Virtual Machine directory. For example: C:\Program Files\Java\jre1.6.0_06\bin
3. Restart all applications.

3 comments:

  1. This post was very helpful! Thank you very much! :)

    ReplyDelete
  2. Indeed helpful, however, Flashdevelop already puts the "\bin" at the end of the path, so you'll point the path to the base SDK folder.
    Furthermore, for the ones who don't know which file you'll find this "java.home=" line, it's the "java.jvm" file; If you installed on the default folder, it should be "C:\Program Files (x86)\FlashDevelop\Tools\flexsdk\bin\jvm.config".

    ReplyDelete
  3. Also make sure you are using Java 1.6+ 32-bit runtime (JRE), not 64-bit.

    It can be downloaded from here: (which is actually not that obvious from FlashDevelop)

    http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase6-419409.html#jre-6u43-oth-JPR

    ReplyDelete

Followers