• Eclipse启动出现 failed to create the java virtual machine 错误


    有多种解决方案:

    方法1

    1. 打开eclipse安装目录下的ecplise.ini (例如d:\eclipse)

    2. 找到 -vmargs, 替换为 -vm "C:\Program Files\Java\jdk1.6.0_34\bin\javaw.exe" 或者删除这一行.

    方法2

    1. 为eclipse.exe创建一个快捷方式

    2. 在快捷方式上右键, 打开属性对话框

    3. 在目标栏中, 在 d:\eclipse\eclipse.exe 后面添加 -vm "C:\Program Files\Java\jdk1.6.0_34\bin\javaw.exe", 保存

    方法3

    1. 打开eclipse安装目录下的ecplise.ini (例如d:\eclipse)

    2. 找到 "–launcher.XXMaxPermSize”. 删掉这行或者将大小从512m改为256m后保存

    1st Method

    1. Open the ecplise.ini file which is located in the eclipse installation folder. (i.e in our example : d:\eclipse)

    2. Find & Replace the line -vmargs with -vm "C:\Program Files\Java\jdk1.6.0_34\bin\javaw.exe" OR just remove the line -vmargs and save it . Now the problem is solved

    2nd Method

    1. Create a desktop shortcut of the eclipse.exe

    2. Right click on the shortcut and select properties.

    3. Now the following dialog box will open.

    4. In the target textbox already d:\eclipse\eclipse.exe will be there. Now replace with D:\eclipse\eclipse.exe -vm "C:\Program Files\Java\jdk1.6.0_34\bin\javaw.exe"

    3rd Method

    1. Open the ecplise.ini file

    2. It has some of add on configuration . Find the line "–launcher.XXMaxPermSize”. Now remove the the dafault value 256m and save it.

  • 相关阅读:
    jQuery的deferred对象详解
    MySQL主从复制与读写分离
    MySQL和MongoDB的性能测试
    MongoDB与MySQL的插入性能测试【转】
    mongodb+php通过_id查询
    MongoDB资料汇总专题
    mongodb常用命令
    【Mongodb教程 第十九课 】PHP与MONGODB的条件查询
    【Mongodb教程 第十八课 】MongoDB常用命令 数据库命令 集合操作命令
    mongoVUE 破解方法
  • 原文地址:https://www.cnblogs.com/milton/p/4215088.html
Copyright © 2020-2023  润新知