[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: jre not found?



Liam O'Toole wrote:
On Tue, 21 Nov 2006 22:18:02 GMT
Tyler <tyler.smith@mail.mcgill.ca> wrote:

Liam O'Toole wrote:
How are you invoking the application? Is there a launch script of
some sort? If so, modify it so that occurrences of "jre" are
replaced with "java".

Alternatively, you could create a symbolic link as follows (as
root):

    ln -s /usr/bin/java /usr/local/bin/jre

That might be enough to coax the application into running.

Ok, so I added the ln, and now I've made some progress. Now when I
run the script I get:

Exception in thread "main" java.lang.NoClassDefFoundError: arlequin/ArlequinApp


The entire contents of the script that is supposed to start
everything is:

jre -cp arlequin.jar -cp swingall.jar arlequin.ArlequinApp


[...]

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?

Thanks again for your help,

Tyle



Reply to: