java was started but returned exit code =-1

Myeclipse报错java was started but returned exit code =-1,如图:

报错原因:java虚拟机的路径不对,因为默认安装MyEclipse时会自带一个java虚拟机,如果环境变量中已经安装了,路径需要改为安装的,可以在cmd中输入

java -verbose

查看jdk路径

解决方法:把MyEclipse启动配置文件ini中找到Vm这一行。Vm指java虚拟机,Vm配置那一行换成你安装的java虚拟机,如果你没安装过Java环境可以马上安装一个,如我则这么写:

原文地址:https://www.cnblogs.com/zhangyouwu/p/9151065.html

时间: 2024-11-10 07:26:38

java was started but returned exit code =-1的相关文章

eclipse不能启动【 java was started but returned exit code=14】

出现java was started but returned exit code=14的问题, 原因是javaw.exe出问题了,重新配置一下eclipse.ini就可以了. 配置如下: 添加红色部分,javaw.exe的路径根据自己的情况填写 eclipse不能启动[ java was started but returned exit code=14],布布扣,bubuko.com

Java was started but returned exit code=13

安装Eclipse(32位)后打开报错:Java was started but returned exit code=13 解决方法: 1,首先我查看了我当前安装的JDK版本,发现是64位的: 2,下载安装好了32位JDK后,打开32位的eclipse,无报错出现. 出错原因:JDK需要在位长上面和Eclipse保持一致.

Java was started but returned exit code=13 C:\ProgramData\Oracle\Java\javapath\javaw.exe

---------------------------Eclipse---------------------------Java was started but returned exit code=13C:\ProgramData\Oracle\Java\javapath\javaw.exe-Dosgi.requiredJavaVersion=1.6-XX:MaxPermSize=256m-Xms512m-Xmx1024m-jar D:\Android\adt-bundle-windows-

eclipse启动不了,出现“Java was started but returned exit code=13......”对话框

eclipse启动不了,出现"Java was started but returned exit code=13......"对话框如下 解决方案:1.使用的是java jdk64位,修改成为jdk1.6版本设置环境变量分别为: JAVA_HOME=C:\Program Files (x86)\Java\jdk1.6.0_26 Path中添加%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin 2.打开eclipse.ini文件,在第三行添加如下命令: -vm C:

MyEclipse:Java was started but returned exit code=-1

破解注册了MyEclipse后出现错误,MyEclipse:Java was started but returned exit code=-1 再起启动隔一会又出现,还得重启. 最后得到大神指点: MyEclipse启动配置文件ini中找到Vm这一行,换成你安装的java虚拟机: -vm C:\Program Files\Java\jdk1.7.0_25\bin\javaw.exe 搞定!

eclipse java was started but returned exit code = 1

从http://www.eclipse.org/downloads/官网下载对应的操作系统版本号的文件,例如windows 64 bit,下载之后打开eclipse.exe就提示java was started but returned exit code = 1等之类的错误弹层, Eclipse启动的时候默认会使用从windows系统目录下找到的JRE作为默认的环境,而系统目录下的JRE和实际的Java安装是不匹配的,因此会出现运行Eclipse时报错的情况. 解决方案:编辑eclipse.i

Java was started but returned exit code=13 问题解决

我在安装完jdk后,也对环境进行了配置,且环境的配置是没有问题的.最后我下载了eclipse,然后打开之后就发现了以下图所示的错误: Java was started but returned exit code=13 C:\ProgramData\Oracle\Java\javapath\javaw.exe 我先在网上先时百度了一下,得到的答案大都是不靠谱,然后我就FQgeogel了一下,得到的答案大致有两个方面的: (1)jdk的环境有问题 (2)Jdk的版本和eclipse的版本不一致(j

关于Myeclipse的MyEclipse:Java was started but returned exit code=-1 错误

我们在安装MyEclipse后有时会遇到这样一个问题,可以进入主界面软件也属于激活状态,但是过一会会报错, 并弹出MyEclipse:Java was started but returned exit code=-1 错误. 大概是这样一个信息,由于我安装的是2016当时并未截图,所以百度找了一张. 什么意思呢,网上找了一些资料,定位到问题出在Myeclipse的配置文件.在安装目录中找到ini配置文件下-vm, 发现Myeclipse安装的时候会给我们自动安装一个虚拟机,现在的路径指向它自动

java was started but returned exit code =-805306369

今天在启动myEclipse的时候遇到 java was started but returned exit code =-805306369 这个问题.具体如下图所示: *解决方法 在项目的工作目录下删除workbench.xmi文件 *路径 F:\code\myeclipseCode\.metadata\.plugins\org.eclipse.e4.workbench\workbench.xmi 重启myEclipse后问题得以解决. 原文地址:https://www.cnblogs.co