On 4/25/06, Ian Wienand <[EMAIL PROTECTED]> wrote:
> On Tue, Apr 25, 2006 at 04:50:02PM -0600, Shaun Jackman wrote:
> > Try
> > $ javac -classpath
> > /usr/share/java/swt-gtk-3.jar:/usr/share/java/swt-pi-gtk-3.jar
> > Hello.java
>
> Ok, how's this?
>
> [EMAIL PROTECTED]:/tmp$ java -classpath .:/usr/share/java/swt-gtk-3.jar 
> -classpath .:/usr/share/java/swt-pi-gtk-3.jar Hello "$@"
> Exception in thread "main" java.lang.NoClassDefFoundError: 
> org/eclipse/swt/widgets/Display
>         at Hello.main(Hello.java:9)

Hello Ian,

I believe the second -classpath overrides the first. Try it as I
wrote, with one -classpath option and two path elements separated by a
colon.

Cheers,
Shaun

Reply via email to