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

  • 相关阅读:
    axis2学习笔记
    一个奇怪的数组越界报错
    zk实现分布式锁
    springBoot配置双数据源
    oracle查询
    maven项目打包
    linux修改yum源为阿里云
    kafka入门
    大话设计模式读书笔记(中介者模式)
    大话设计模式读书笔记(职责链模式)
  • 原文地址:https://www.cnblogs.com/Jackeyzhang/p/2042925.html
Copyright © 2011-2022 走看看