Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Apple's JAXP & 14compatibility.jar



Adam Ohren wrote:

I tried changing the bootstrap classpath. Didn't work, so I started
digging deeper. Turns out I was wrong, and it's not getting added to
the boostrap classpath.

The file is actually being appended to the APPLICATION classpath...
which I don't understand at all, since isn't java supposed to respect
the CLASSPATH environment variable and -cp / -classpath option??

It doesn't seem to. It takes whatever I'm supplying as an application
classpath and appends the following:

:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/
Classes/.compatibility/14compatibility.jar

So java.class.path always winds up having 14compatibility.jar in the
ClassLoader search path, which pulls Crimson in.

Have you tried putting your preferred XML parser into the bootclasspath? That should override anything Apple does to the classpath.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden


This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.