Am Mittwoch, den 02.03.2005, 08:43 +1100 schrieb Ben Burton:
> gij-3.3 should have supplied an alternative for /usr/bin/java, pointing
> at /usr/bin/gij-wrapper-3.3.

I agree. I also think it should have done that.

But no, there was no /usr/bin/java symlink. There is now, after purging
and reinstalling gij. So gij somehow failed to register. A bug in gij or
in update-alternatives? Strange.


> Since $JAVA_HOME is often set by default, a different variable was
> chosen for overriding the alternatives system.

I donât understand. Why should JAVA_HOME be set if there is no Java
there? Even if thatâs the case, that is truly the userâs responsibility.
Why not just have a peek into $JAVA_HOME/bin to find a java binary if
the JAVA variable is not set? Why not simply use the /usr/local/bin/java
binary that is in the my path?

I think the order should be: 1) $JAVA if it is set; 2) any java in the
path (using âwhichâ perhaps); 3) $JAVA_HOME/bin/java if JAVA_HOME is
set. Not that usually 2 shouldnât fail.

Bye,
   Mike 

-- 
|=| Michael Piefel
|=| Member of the Debian project

Reply via email to