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

Re: jre not found?



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


-- 

Liam



Reply to: