zoukankan      html  css  js  c++  java
  • 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.

  • 相关阅读:
    java 类加载与初始化
    字符串匹配
    二分查找
    一般css样式开头公共部分
    js或jquery实现图片轮播
    w3chtml页面和css书写规范
    前端学习网站
    相关学习网站
    char对比varchar
    用抽象类或者接口?
  • 原文地址:https://www.cnblogs.com/milton/p/4215088.html
Copyright © 2011-2022 走看看