ClassNotFoundException

David Bullock db at dawnbreaks.net
Mon Nov 17 09:00:06 PST 2003


On Mon, 17 Nov 2003, Roberto Nunnari wrote:

> Hi there.
>
> could any kind soul help please? Can't understand what's wrong here..

When you use "java -jar", any "-classpath" or $CLASSPATH is ignored.

Either set the value of the 'Class-Path:' manifest entry
when you build the jar, or use simply:

 java -cp my.jar driver.jar org.example.Main

cheers,
David.



More information about the freebsd-java mailing list