zoukankan      html  css  js  c++  java
  • Adobe Flash Builder 启动提示Failed to create the Java Virtual Machine解决方法

    今天在家休息,电脑里面没有Adobe Flash Builder 4.7,想写点东西,于是就安.装了Adobe Flash Builder 4.7,安装成功后启动,提示如下图:

    在网上查找解决办法,大部分都是讲关于eclipse报错,修改eclipse.ini里面的-xmx512M修改为-xmx256m,但是修改完成后,重新启动依旧报错。然后又在网上查找了一番。终于找到只需修改FlashBuilder.ini 和 FlashBuilderC.ini 后 flash Builer 可以正常使用。修改如下:

    FlashBuilder.ini 文件内容如下:
    -nl
    en_US
    -startup
    eclipse/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
    --launcher.library
    eclipse/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.1.R36x_v20100810
    --launcher.defaultAction
    openFile
    -vmargs
    -Xms512m
    -Xmx512m
    -XX:MaxPermSize=128m
    -XX:PermSize=128m
    -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.1.0.v20100507.jar
    --launcher.library
    eclipse/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.1.R36x_v20100810
    --launcher.defaultAction
    openFile
    -nl
    en_US
    -vmargs
    -Xms512m
    -Xmx512m
    -XX:MaxPermSize=128m
    -XX:PermSize=128m
    -Dorg.eclipse.equinox.p2.reconciler.dropins.directory=eclipse/dropins
    -Declipse.application=com.adobe.flexbuilder.standalone.FlashBuilderApplication
     
    红色字体为修改部分。
    总结: Flash Builder有自己的配置文件,在安装根目录下找到FlashBuilder.ini和FlashBuilderC.ini。所以修改eclipse下面的eclipse.ini是没有用的。
  • 相关阅读:
    (原创)批处理中变量的用法
    (收藏)Android 的各种listener and states event
    (转)Android 、BlackBerry 文本对齐方式对比
    (转)Android中尺寸单位杂谈
    批处理文章集锦
    Launch custom android application from android browser
    【原创】我的批处理命令例子
    Android文字居中
    (转)androd之绘制文本(FontMetrics)
    (批处理之二):setlocal enabledelayedexpansion (详解)
  • 原文地址:https://www.cnblogs.com/atong/p/2889007.html
Copyright © 2011-2022 走看看