By and Adobe® Flash® Builder® 4.7, which is an Integrated Development Environment (IDE) for developing games and applications using ActionScript and Flex framework runs on Java 6. If you do not have Java 6 on your machine Flash Builder does not launch and instead displays this error. Steps to follow on Windows.
In order to run Eclipse you must install the full JDK, the JRE download is not enough as it does not include the java executable. The Oracle site is here share| improve this answer.
Install Java 1.7/1.8. Copy the jre7/jre8 folder inside the Java folder. Replace the jre folder inside flash builder installation folder with the copied one. Restart Flash Builder. Steps to follow on Mac.
Set your JAVAHOME to Java 7 or Java 8 as per the correct paths on your machine.