When I try to start Adobe Flash Builder 4.7, it keeps giving me the following error:
Failed to create the Java Virtual Machine
Before it was working perfectly. The problem started to occur after I set up my MacOSX for a new project. But I didn't change any *.ini file in the Adobe Flash Builder 4.7 installation directory.
I Googled a lot, everyone gave the similar answer: change the *.ini files. I found 3 files:
/Applications/Adobe Flash Builder 4.7.app/Contents/MacOS/Adobe Flash Builder 4.7.ini
/Applications/Adobe Flash Builder 4.7.app/Contents/MacOS/Adobe Flash Builder 4.ini
/Applications/eclipse/Eclipse.app/Contents/MacOS/eclipse.ini
I tried to change the following values as instructed:
-Xms512m
-Xmx1024m
-XX:MaxPermSize=256m
-XX:PermSize=64m
But not working at all. So what values are you guys using if my physical memory is 4GB? (my MacOSX has 4GB memory).
BTW, I did (re)install Java when setting up my MacOSX for a new project, and here is my java info:
[plee@pleemac ~]$ which java
/usr/bin/java
[plee@pleemac ~]$ java -version
java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
[plee@pleemac ~]$
This is ridiculous! But I'm not sure. It seems Adobe Flash Builder 4.7 does NOT support Java 1.7.
After I install Apple's Java 1.6 from: http://support.apple.com/kb/DL1572?viewlocale=en_US
I am able to open Adobe Flash Builder 4.7.
Hmmm, now I need to install Java 1.7 in a very special way for my new project. Actually I don't know how. But Thank god, I finally could use my Adobe Flash Builder 4.7 again!