octave-maintainers
[Top][All Lists]
Advanced

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

Re: JAVA_HOME... why?


From: Pascal Dupuis
Subject: Re: JAVA_HOME... why?
Date: Tue, 11 Dec 2012 19:28:59 +0100

2012/12/11 Jordi Gutiérrez Hermoso <address@hidden>:
> Can someone please explain to me again why we need JAVA_HOME? Why is
> jni.h special and can't be installed and used like any other system
> header? I can understand setting it if your Java installation is in a
> non-default location, but it's really strange that the current trend
> is to be telling anyone who builds Octave that they have to make sure
> JAVA_HOME is set correctly; moreso for configure to be complaining
> about it when it's not. The configure script doesn't complain if I
> don't have QT_HOME or FFTW_HOME set correctly; why is Java special? I
> am able to build Octave with Java support without JAVA_HOME. Why can't
> anyone else?
>
> I'm not saying this is a stupid thing; I just want to understand the problem.
>

Because Java was developed with the idea: "Write once, run
everywhere". Due to differences in implementations, it became "Write
once, debug everywhere".

Regards

Pascal


reply via email to

[Prev in Thread] Current Thread [Next in Thread]