Re: jre not found?
On Sun, 26 Nov 2006 04:11:09 GMT
Tyler <tyler.smith@mail.mcgill.ca> wrote:
[...]
> >
> > Try this instead:
> >
> > java -cp arlequin.jar:swingall.jar arlequin.ArlequinApp
> >
> > If this fails, check that the class arlequin.ArlequinApp is present
> > in the first JAR file:
> >
> > jar -tf arlequin.jar | grep ArlequinApp
> >
> >
>
> Here's what I get:
>
> tyler@blackbart:/usr/local/bin/Arlequin$ java -cp
> arlequin.jar:swingall.jar arlequin.Arlequin.App
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> arlequin/Arlequin/App
>
> tyler@blackbart:/usr/local/bin/Arlequin$ jar -tf arlequin.jar | grep
> ArlequinApp
>
> arlequin/ArlequinApp.class
>
> tyler@blackbart:/usr/local/bin/Arlequin$
>
>
> Am I correct in assuming now that this problem is not with me but
> with the upstream maintainers of Arlequin?
Not necessarily. Based on the above you put an extra '.' in the
main class name. Try this command exactly:
java -cp arlequin.jar:swingall.jar arlequin.ArlequinApp
instead of
java -cp arlequin.jar:swingall.jar arlequin.Arlequin.App
[...]
--
Liam
Reply to: