1. 程式人生 > >Eclipse 中小螞蟻在run的時候,出現:Specified VM install not found: type Standard VM, 1.8

Eclipse 中小螞蟻在run的時候,出現:Specified VM install not found: type Standard VM, 1.8

ant ada clip config eclips type spec ecif sta

從百度上轉的:

網上抄襲來抄襲去,都說是將“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”

問題解決。這才是真正出問題的地方。出問題要找到原因,這樣才能避免再犯。

Eclipse 中小螞蟻在run的時候,出現:Specified VM install not found: type Standard VM, 1.8