Could not Create the Java Virtual Machine or Unhandled Event Loop Exception
来源:互联网 发布:安卓开发java基础 编辑:程序博客网 时间:2024/06/07 20:10
本来配置maven环境,自己的eclipse版本比较老,打开windows-preference-maven下的功能比同学的少,就从室友那儿copy了新版的eclipse,打开几次后,随便点击编辑页面就报错:Unhandled event loop exception.Item not added.
以为是eclipse版本问题,后来又copy了一份更新的eclipse,直接打不开,报错:error:could not create the java virtual machine. error a fatal exception has occurred. program will exit。 百度后,原来是jvm的内存不够,虽然我没碰过,反正就是jdk的问题,查到好几个方法,一一试过,只有一种适合我~
一、修改eclipse.ini文件
试过,我的并不行
二、配置环境变量
上述方法只是针对eclipse改变了jvm的内存,这个方法针对整个系统,
新增环境变量:_JAVA_OPTIONS
值:-Xmx512M
试了,我的还是不行!!
三、删除文件
安装JDK的时候在C:\Windows\System32生成的java.exe、javaw.exe、javaws.exe
这个3个引起的;只要把这3个运行文件删除掉就可以了
追加:
又出问题了,,
上面的方法并没用
查看日志,错误为:Warning: The environment variable HOME is not set. The following directory will be used for storing the Git user
最后解决方法:(Add the environment variable HOME
to your environment variables.)
- In Windows 7, type "environment" at the start menu.
- Select "Edit environment variables for your account".
- Click the "New" button.
- Enter "HOME" in the name field.
- Enter "%USERPROFILE%" or some other path in the value field.
- Click OK, and OK again. You have just added the Home directory on Windows.
- Could not Create the Java Virtual Machine or Unhandled Event Loop Exception
- could not create the java virtual machine
- "could not create the java virtual machine"
- "could not create the java virtual machine
- Could not create the Java virtual machine
- Could not create the Java Virtual Machine
- could not create the java virtual machine
- Java出错 Error:Could not create the Java Virtual Machine Error:A fatal exception has occurred
- Java出错 Error:Could not create the Java Virtual Machine Error:A fatal exception has occurred
- Java出错 Error:Could not create the Java Virtual Machine Error:A fatal exception has occurred
- Java出错 Error:Could not create the Java Virtual Machine Error:A fatal exception has occurred
- Scala compile server Error: Could not create the Java Virtual Machine.Error: A fatal exception
- could not create the java virtual machine问题
- jbuilder2007 could not create the java virtual machine
- 解决could not create the java virtual machine问题
- 解决could not create the java virtual machine问题
- 解决could not create the java virtual machine问题
- 解决could not create the java virtual machine问题
- UGUI 实现滑入滑出的效果
- The Suspects poj1611(并查集的深度理解) 16.9.21
- 生成36位全局唯一数(GUID、UUID)
- n皇后问题
- 4种PHP异步执行的常用方式
- Could not Create the Java Virtual Machine or Unhandled Event Loop Exception
- JAVA EE-文件上传
- 按键事件
- V尼熊的java之旅——面向对象篇
- poj 1275 Cashier Employment
- 2016华为上机题:计算下一秒
- apt-get 机制详解
- hdu4802(stl)
- Android异步下载网络图片(其一:Handler)