[fedora-java] Odd ClassNotFoundException with RSSOwl

Fernando Lozano fernando at lozano.eti.br
Fri Jul 22 18:36:35 UTC 2005


Hi Tom,

It is the standard behaviour (at least with Sun Java) to ignore -cp and 
the CLASSPATH env var when using -jar. And we'd better behave the same way.

[]s, Fernando Lozano

>Andrew> Caused by: java.lang.ClassNotFoundException: org.eclipse.core.runtime.Status not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:rssowl.jar,file:./], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
>
>Hmm, I would have expected to see more things in the class path here.
>It sounds like we are ignoring -cp when -jar is given.  I'm not sure
>what behavior is correct here.  One way to test this theory is to add
>rssowl.jar to the -cp argument, and instead of '-jar rsssowl.jar', use
>the name of the main class.
>
>Tom
>  
>




More information about the java-devel mailing list