Eclipse Ant提示Specified VM install not found

      重新安装操作系统及JDK后,在Eclipse中用Ant编译报错:Specified VM install not found: type Standard VM, name jdk1.5.0_04;

      搜索出解决办法:

             删除%ecliplse workspace%/.metadata/.plugins/org.eclipse.debug.core/.launches /目录下的文件。

      最后解决问题。

 

错误截图
Eclipse Ant提示Specified VM install not found