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!
I have a solution on Sierra for Flash Builder 4.6 : I'm just set JAVA_HOME environment to java 1.6
install java 1.6 from here: https://support.apple.com/kb/DL1572
from terminal: cd /Applications/Adobe\\ Flash\\ Builder\\ 4.6/eclipse/Eclipse.app/Contents/MacOS/ export JAVA_HOME="$(/usr/libexec/java_home -v 1.6)" ./eclipse
It works for me.
I was having the same issue. I started eclipse from the terminal (see below) and saw that the JavaVM was complaining about a library from an old version 1.7JDK. When I Looked in /Library/Java/JavaVirtualMachines I saw that after performing updates on the JDK, the old installs (and updates) were still installed. I uninstalled all JDK installation folders except for the most recent. See Oracle site for uninstall instructions (you basically just delete them) http://docs.oracle.com/javase/7/docs/webnotes/install/mac/mac-jdk.html
To open Eclipse from terminal, enter: cd /Applications/Adobe\\ Flash\\ Builder\\ 4.7/eclipse/Eclipse.app/Contents/MacOS/
then enter: ./eclipse
我刚刚从这里安装了Java 1.6: https : //support.apple.com/kb/DL1572,MacOS Mojave上的FlashBuilder 4.6再次起作用。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.