MyEclipse java was started but returned exit code=-1

java was started but returned exit code=-1

Vm指的是java虚拟机,默认你安装MyEclipse时会自带一个java虚拟机,Vm配置那一行换成你安装的java虚拟机,如果你没安装过Java环境可以马上安装一个,如我安装的是1.7,则这么写:

-vm
C:/Program Files/Java/jdk1.7.0_25/bin/javaw.exe

 

cmd 下 java -verbose  查看自定义java安装路径

posted @ 2015-12-04 14:46  pyfreshman  阅读(5112)  评论(0编辑  收藏  举报