java and linux

Michael Goffioul michael.goffioul at gmail.com
Wed Jul 2 02:57:01 CDT 2008


On Tue, Jul 1, 2008 at 9:10 PM, Janmaat, John <john.janmaat at ubc.ca> wrote:
> Hello Michael,
>
> No go.  My JAVA_HOME points to /usr/lib/jvm/jre, from where the file you
> mention is located.  It is a directory deeper.  Thought maybe that it
> couldn't find javac, which is in a branch of the /usr/lib/jvm directory,
> not the ../jre directory.  Changed that, but still doesn't work.

There are 2 things you should take care of:
1) all java binaries should be in your PATH (java, javac, jar...)
2) if JVM is not installed in a directory like:
/usr/lib/jvm/jre/lib/$ARCH/client/libjvm.so
then JAVA_HOME should be defined such that JVM is located in
$JAVA_HOME/jre/lib/$ARCH/client/libjvm.so

If it still does not work, could you report what you get when
the configure script of the java package is executed?

Michael.


More information about the Help-octave mailing list