[fedora-java] Re: Odd ClassNotFoundException with RSSOwl

Robin Green greenrd at presidium.org
Fri Jul 22 23:02:41 UTC 2005


On Fri, 22 Jul 2005 12:12:54 -0600, Tom Tromey wrote:
>>>>>> "Andrew" == Andrew Overholt <overholt at redhat.com> writes:
> Andrew> /usr/share/eclipse/plugins/org.eclipse.core.runtime_3.1.0.jar:/home/overholt/rssowl/BlowfishJ.jar:/home/overholt/rssowl/codec-1.3.jar:/home/overholt/rssowl/httpclient-3.0.jar:/home/overholt/rssowl/iTextAsian.jar:/home/overholt/rssowl/itext.jar:/home/overholt/rssowl/jdom.jar:/home/overholt/rssowl/jface.jar:/home/overholt/rssowl/logging-1.0.4.jar:/home/overholt/rssowl/res.jar:/home/overholt/rssowl/swt.jar:/home/overholt/rssowl/swt-nl.jar:/home/overholt/rssowl/xerces.jar
>
> If you want to use xerces you will have to make it available by
> setting java.endorsed.dirs to point to the directory holding its jar.
> Otherwise I think you'll end up using the built-in xml code (due to
> class loader delegation).

Unless my patch has been applied, rssowl directly refers to Xerces.

> It sounds like we are ignoring -cp when -jar is given.

As Fernando points out, ignoring the classpath when -jar is provided is
indeed consistent with Sun VMs, strange as it may seem. I presume that the
classpath is supposed to be under the exclusive control of the jar's
metainfo.

-- 
Robin




More information about the java-devel mailing list