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

1、ant编译build.xml文件时会遇到这个问题
2、解决办法:
build.xml -- 右键Run As -- External Tools Configurations

Specified VM install not found: type Standard VM, name jdk1.7
3、选择JRE标签,选择Run in the same JRE at the workspace
Specified VM install not found: type Standard VM, name jdk1.7