I don't think you can "not" use rt.jar, unless you either:

1) Use the Endorsed API override mechanism if it applies to this
particular API, to pick up this particular API from a different jar
than rt.jar

2) Use a different bootclasspath, to use a different "fixed up" rt.jar

Javac otherwise uses the rt.jar that comes with the JDK. --DD

On 6/16/06, Mike Grandmaison <[EMAIL PROTECTED]> wrote:

Hi,

I am trying to compile with ant 1.6.5 using jdk150.  This jdk ships with rt.jar 
that contains  a version of org.w3c.com that I don't want to use.  I've run ant 
with verbose mode but it does not show that it is using rt.jar in the javac 
command but when I remove the offending class from rt.jar the error disappears.

How can I ensure that rt.jar is at the end of my classpath or make ant not see 
it?

Thanks,

MG

---------------------------------
Sneak preview the  all-new Yahoo.com. It's not radically different. Just 
radically better.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to