Specified VM install not found: type Standard VM, name jre7

来源:互联网 发布:mac本取消开机密码 编辑:程序博客网 时间:2024/06/05 03:39

报错信息:Specified VM install not found: type Standard VM, name jre7

解决方案:

 方案一:

网上抄袭来抄袭去,都说是将“workspace /.metadata/.plugins/org.eclipse.debug.core/.launches/”下的文件都删除掉。


方案二:

方案一治标不治本,我们来找一下真正的原因



在项目中,右键点击ant文件,选择Run As -- External Tools Configuration,在这个页面的顶端就会看到有红叉叉的报错,报错信息就是Specified VM install not found: type Standard VM
然后选择JRE tab页,在这里可以重新指定所使用的JRE,或者干脆选择“Run in the same JRE as the workspace




5 0
原创粉丝点击