Tuesday, November 15, 2011

Ant in Eclipse - Which JDK?

When we ran Ant from command line, it picked the JDK from the JAVA_HOME environment variable.

But when we run it in Eclipse, it picks the JDK provided by Eclipse (which is the JDK specified in the eclipse.ini file, with the -vm argument).

No comments: