Specified VM install not found: type Standard VM, name jdk1.7

网上抄袭来抄袭去,都说是将“workspace /.metadat a/.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”

问题解决。这才是真正出问题的地方。出问题要找到原因,这样才能避免再犯

猜你喜欢

转载自blog.csdn.net/zhaoraolin/article/details/80116970
vm