Wednesday, April 18, 2012

Broken Eclipse "External Tools Configuration" after JDK change

After replacing JDK from 1.6 to 1.7 I got a problem with Ant scripts in Eclipse:
"Specified VM install not found: type Standard VM, name jdk1.6.0_21"

Unfortunately, this is all information Eclipse gives, so it took some time to realize that Eclipse uses specific JRE name instead of "Default Workspace JRE" in the "External Tools Configurations" (in contrast with "Run & Debug Configurations").

Solution:
Run menu -> External Tools -> External Tools Configurations -> JRE tab -> [x] Run in the same JRE as the workspace

No comments:

Post a Comment