<likely better in an Eclipse forum....eclipse.platform newsgroup> The JRE/JDK used for an Ant build in Eclipse is specified on the JRE tab of the Ant launch configuration. It uses the default install as specified in the installed JREs preference page (or the project specific JRE settings if different from the global preference).
You can set the build to occur in any JRE/JDK you require by configuring on the JRE tab of the Ant launch configuration. One difference: if you are building in the same JRE as Eclipse...then you need to do as Jan indicated: start eclipse with the appropriate -vm option to point to the JRE/JDK you wish to run Eclipse (and therefore same JRE Ant builds). Generally a build does not need to occur in the same JRE as Eclipse. HTH Darins James Abley <[EMAIL PROTECTED]> 02/11/2005 11:35 AM Please respond to "Ant Users List" To Ant Users List <[email protected]> cc Subject Re: AW: AW: problem with javadoc On Fri, 2005-02-11 at 12:58, [EMAIL PROTECTED] wrote: > AFAIK Eclipse starts with the Java where JAVA_HOME points to, > if you dont provide another one via -vm option. > > Jan > If you look in Window | Preferences, under the Java option there should be an "Installed JREs" entry. You can check what you are using there. James --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
