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.
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".
This post was very helpful! Thank you very much! :)
ReplyDeleteIndeed helpful, however, Flashdevelop already puts the "\bin" at the end of the path, so you'll point the path to the base SDK folder.
ReplyDeleteFurthermore, 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".
Also make sure you are using Java 1.6+ 32-bit runtime (JRE), not 64-bit.
ReplyDeleteIt 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