Hi everybody!
It didn't help :-( ...
I already have/had the tools.jar on the classpath of Ant inside Eclipse. That
doesn't help.
I've tried adding it to my Eclipse-Project-Classpath, did include it in a
<classpath/> in my build.xml, changed my System-Vars (JAVA_HOME) and so on...
don't know what to try else.
For changing the Eclipse-JRE to a complete SDK I don't know exactly how to to
that. I already changed the inner-Eclipse JRE to that one of my installed SDK.
The Code you posted Vincent does work in a seperate program. My property
java.home points to the "c:/java/j2sdk1.4.2_05/jre" and with
> String javaHome = System.getProperty("java.home");
> new File(javaHome, "../lib/tools.jar");
I get a File-object that points to the correct "tools.jar".
Can you tell me where the code for the "getToolsJar()"-Method comes from...
what package and class??
I'd like to know, what Eclipse-Ant get's for
> System.getProperty("java.home");
Thanks for the answers.
Sebastian
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]