zoukankan      html  css  js  c++  java
  • Failed to create the Java Virtual Machine

      今天升级Android3.1 ADT 时,打开eclipse出现如下问题:

    在网上搜了下看到如下解决方法:

    找到eclipse目录下的eclipse.ini,可以看到如下内容:
    -startup
    plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
    –launcher.library
    plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.0.v20100503
    -product
    org.eclipse.epp.package.jee.product
    –launcher.defaultAction
    openFile
    –launcher.XXMaxPermSize
    256M
    -showsplash
    org.eclipse.platform
    –launcher.XXMaxPermSize
    256m
    –launcher.defaultAction
    openFile
    -vmargs
    -Dosgi.requiredJavaVersion=1.5
    -Xms40m
    -Xmx512m
    修改–launcher.XXMaxPermSize  128

    如下:
    -startup
    plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
    –launcher.library
    plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.0.v20100503
    -product
    org.eclipse.epp.package.jee.product
    –launcher.defaultAction
    openFile
    –launcher.XXMaxPermSize
    128M
    -showsplash
    org.eclipse.platform
    –launcher.XXMaxPermSize
    128m
    –launcher.defaultAction
    openFile
    -vmargs
    -Dosgi.requiredJavaVersion=1.5
    -Xms40m
    -Xmx512m

  • 相关阅读:
    轮播制作
    前端问题总结
    响应式 媒体查询 盒模型
    响应式 字体设置 flex 弹性布局
    C++ STL之set常用指令
    SRM468
    SRM470
    置换及其应用专题
    C++ STL之map常用指令
    C++ STL之pair常用指令
  • 原文地址:https://www.cnblogs.com/Jackeyzhang/p/2042925.html
Copyright © 2011-2022 走看看