ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject RE: setting a specific compiler
Date Fri, 26 Apr 2002 10:00:49 GMT
> What is not working?  What happens?

Sorry, hadn't really finished that mail before I sent it. It appeared to me that it was still
being compiled under the 1.3 compiler as it was not failing where I though it should be -
however my test case was flawed.

The problem I'm now getting is
 [javac] Fatal Error: Unable to locate package java.lang in classpath or bootclasspath

java.lang seems to be in which I put on the boot cp as follows, but still same error..

<target name="compileAlternateJDK" depends="init" if="javac.AlternateJDK">
    <!-- Compile the java code from ${src} into ${build} -->
        <pathelement path="${javac.AlternateJDK}/lib/tools.jar"/>
        <pathelement path="${javac.AlternateJDK}/"/>
       <classpath refid="classpath"/>

cheers, jmaie

Visit our website at

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message