Error loading in flex integration: Java / jdk1.6.0_ 35\jre\bin\server\ jvm.dll

Error loading: \ Java \ jdk1.6.0 _35 \ jre \ bin \ server \ JVM DLL

Error :
complie:
[exec] Error loading: D:\Program Files\Java\jdk1.6.0_35\jre\bin\server\ jvvm. DLL
[exec] Result: 6
Because flash builder is based on eclipse and eclipse is using Java technology and Java needs jre
to run and flash builder needs to run on a 32-bit jre if we have Java installed on 64 then this error will occur

solution
1. Download and install 32 jre
2. Edit FLEX_HOME\bin\jvm.config file and set java.home
for example :
#java.home=
java.home=D:/Program Files/Java/jre6-32

note :FLEX_HOME refers to flex SDK directory, such as D:\Program Files\Adobe Flash Builder 4.6\ SDKS \4.6.0

Read More: