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

Re: jre not found?



On Mon, 20 Nov 2006 22:46:00 GMT
Tyler <tyler.smith@mail.mcgill.ca> wrote:

> Hi,
> 
> I don't know anything about java, but I have to use a java app for
> some research. I've installed everything I can find in the repos for 
> sun-java5, listed below. I also have some of the free alternatives 
> installed. I have no real preference, other than I need something
> that works. At the moment, when I try and invoke the application
> (arlequin, for molecular analysis) I get the following error:
> 
> jre: command not found
> 

You won't find the "jre" command: it's a Microsoft-ism. The correct way
to start the Java Virtual Machine is to invoke the "java" command.

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.

[...]

-- 

Liam



Reply to: