[Nexus-developers] NeXus autotools
Peterson, Peter F.
petersonpf at ornl.gov
Tue Jun 15 15:15:45 BST 2004
Freddie,
I agree with Mark that --with-java-home is the best way to go. Java should be looked for in a search path, like everything else, and have --with-java-home make the location explicit. Also, it would be best if the --without-java option remained.
P^2
-----Original Message-----
From: nexus-developers-bounces at anl.gov on behalf of Mark Koennecke
Sent: Tue 6/15/2004 8:40 AM
To: Akeroyd, FA (Freddie)
Cc: Nexus-Developers
Subject: RE: [Nexus-developers] NeXus autotools
Freddy,
On Tue, 15 Jun 2004, Akeroyd, FA (Freddie) wrote:
>
> > This may be less standardized. Make sure that the --with-java option is
> > properly honoured (or taken as JAVA_HOME). I have at least three Java
> > versions on my box....
> >
> --with-java currently specifies the name of the JAVAC compiler. We have a
> few options:
> * add somethink like --with-java-home= as a separate option
> * make --with-java specify JAVA_HOME rather than JAVAC; we may then need
> to add a --with-javac option in case JAVAC is not "javac"
>
> Personally I feel --with-javac should specify JAVAC and --with-java
> specify the separate JAVA command, which would leave --with-java-home for
> the SDK install directory. What do other packages do though?
>
I personally prefer --with-java-home. This is perfectly clear. Do we
need the other two? If you have java-home, both javac and java should be
in $JAVA_HOME/bin. If javac is not there, you only have a Java runtime
and you are in deep trouble. You should also use the javac in
JAVA_HOME/bin, otherwise you may be mismatching java compilers and the
JNI files. This could work but this is very dodgy.
Mark
_______________________________________________
NeXus-developers mailing list
NeXus-developers at anl.gov
http://www.neutron.anl.gov/mailman/listinfo/nexus-developers
More information about the NeXus-developers
mailing list