You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Sebastien Boving <se...@cirquedigital.com> on 2001/12/06 21:16:31 UTC

Re: Cannot user classic compiler...

Try to remove ant-1.4.jar from your jdk (jre/lib/ext/ant-*.jar).
Let me know if that solves it.

Doug McNeil wrote:

> Hi,
>
> I have a newbie question that I do not see on the FAQ.
>
> While trying to compile a java directory I receive:
>
>     ...Cannot use classic compiler, as it is not available A common
> solution is to set the environment variable JAVA_HOME to your jdk directory.
>
> The environment is Solaris and jdk 1.2. To which the JAVA_HOME is set.
> Ant version 1.4.1.
>
> Any ideas?
>
> Thanks
>
> Doug McNeil
>
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Cannot user classic compiler...

Posted by Doug McNeil <mc...@home.com>.
Doug McNeil wrote:

> Sebastien Boving wrote:
>
>> Try to remove ant-1.4.jar from your jdk (jre/lib/ext/ant-*.jar).
>> Let me know if that solves it.
>>
>> Doug McNeil wrote:
>>
>>> Hi,
>>>
>>> I have a newbie question that I do not see on the FAQ.
>>>
>>> While trying to compile a java directory I receive:
>>>
>>>    ...Cannot use classic compiler, as it is not available A common
>>> solution is to set the environment variable JAVA_HOME to your jdk 
>>> directory.
>>>
>>> The environment is Solaris and jdk 1.2. To which the JAVA_HOME is set.
>>> Ant version 1.4.1.
>>>
>>> Any ideas?
>>>
>>> Thanks
>>>
>>> Doug McNeil
>>>
>>> -- 
>>> To unsubscribe, e-mail:   
>>> <ma...@jakarta.apache.org>
>>> For additional commands, e-mail: 
>>> <ma...@jakarta.apache.org>
>>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> -- 
>> To unsubscribe, e-mail:   
>> <ma...@jakarta.apache.org>
>> For additional commands, e-mail: 
>> <ma...@jakarta.apache.org>
>>
>> Part 1.2
>>
>> Content-Type:
>>
>> text/plain
>>
>>
> There is no ant.jar in the ext directory. The ant.jar file is passed 
> on the command-line's classpath.
>
> Doug
>
>
>
> -- 
> To unsubscribe, e-mail:   
> <ma...@jakarta.apache.org>
> For additional commands, e-mail: 
> <ma...@jakarta.apache.org>
>
>
Went back through the archives and found out I needed tools.jar on the 
ant classpath.

Thanks!
Doug



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Cannot user classic compiler...

Posted by Doug McNeil <mc...@home.com>.
Sebastien Boving wrote:

>Try to remove ant-1.4.jar from your jdk (jre/lib/ext/ant-*.jar).
>Let me know if that solves it.
>
>Doug McNeil wrote:
>
>>Hi,
>>
>>I have a newbie question that I do not see on the FAQ.
>>
>>While trying to compile a java directory I receive:
>>
>>    ...Cannot use classic compiler, as it is not available A common
>>solution is to set the environment variable JAVA_HOME to your jdk directory.
>>
>>The environment is Solaris and jdk 1.2. To which the JAVA_HOME is set.
>>Ant version 1.4.1.
>>
>>Any ideas?
>>
>>Thanks
>>
>>Doug McNeil
>>
>>--
>>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>>For additional commands, e-mail: <ma...@jakarta.apache.org>
>>
>
>
>------------------------------------------------------------------------
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>
> Part 1.2
>
> Content-Type:
>
> text/plain
>
>
There is no ant.jar in the ext directory. The ant.jar file is passed on 
the command-line's classpath.

Doug



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>