ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: RMIC stubversion 1.2 not accepted by rmic
Date Fri, 12 Jan 2001 09:54:33 GMT
Shimon Crown <> wrote:

> It looks to me that this is an rmic error caused by Ant finding and
> using an old rmic compiler.

True, but Ant doesn't invoke any command line rmic utility, it invokes
the implementing compiler class directly (in the Ant VM). As long as
your JAVA_HOME points to the correct directory, Ant is going to
include JAVA_HOME/lib/tools.jar and this holds the compiler.

Run ant -verbose to see which CLASSPATH it actually gets invoked
with. If there are any archives of older JDKs, that could hold another
rmic implementation (a, some Visual Cafe classes or
similar), remove them from your CLASSPATH and try again.


View raw message