Flash Builder 4.6 提示 Failed to create the Java Virtual Machine 解决办法

最近使用 Flash Builder 4.6,在我的笔记本(win7 X64)上运行好好的,但是在公司的电脑(XP)上面启动的时候却提示“Failed to create the Java Virtual Machine ” ,网上搜索了半天,才从http://hi.baidu.com/saminigod/blog/item/e976dfdd1d4c57205982dd17.html这里得到启发,真是感谢至极啊

方法如下:将Flash Builder 4.6 安装目录下面的下面两个文件 :FlashBuilder.ini和FlashBuilderc.ini里面的内容改一下:

FlashBuilder.ini改为:

-nl
zh_CN
-startup
eclipse/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
eclipse/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.100.v20110502
--launcher.defaultAction
openFile
-vmargs
-Xms256m
-Xmx512m
-XX:MaxPermSize=128m
-XX:PermSize=64m
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=eclipse/dropins
-Declipse.application=com.adobe.flexbuilder.standalone.FlashBuilderApplication

 

FlashBuilderC.ini改为:

-startup
eclipse/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
eclipse/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.100.v20110502
--launcher.defaultAction
openFile
-nl
en_US
-vmargs
-Xms128m
-Xmx128m
-XX:MaxPermSize=128m
-XX:PermSize=64m
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=eclipse/dropins
-Declipse.application=com.adobe.flexbuilder.standalone.FlashBuilderApplication
再改:Flash Builder 4.6 安装目录下面的eclipse文件夹下面的 eclipse.ini文件

改为:

-clean
-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.100.v20110502
-nl
en_US
-vmargs
-Xms128m
-Xmx128m
-XX:MaxPermSize=128m
-XX:PermSize=64m
-Djava.net.preferIPv4Stack=true
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=dropins
-Declipse.application=com.adobe.flexbuilder.standalone.FlashBuilderApplication
-Dfile.encoding=UTF-8

 

转自:http://hi.baidu.com/just_jee/item/3d8db7170c4efa5df0090e3f

 

颖火虫:FlashBuilder.ini我只修改了这里就可以运行了

你可能感兴趣的:(Flash Builder 4.6 提示 Failed to create the Java Virtual Machine 解决办法)