[Biojava-l] uneeded aggrevation ;)

Thomas Down td2@sanger.ac.uk
Tue, 31 Jul 2001 13:47:22 +0100


On Tue, Jul 31, 2001 at 09:55:32AM +0100, Ewan Birney wrote:
> 
> Now - ant doesn't want to build because apparently I don't have a modern
> compiler - it tries to revert to a classic compiler and then complains:

That's strange -- all JDK1.3 and later ship with the modern
compiler, and it's much better (performance and bug-wise than
the classic).  Did this go away once you set JAVA_HOME?

> /home/birney/src/biojava-live/build.xml:140: Cannot use classic compiler,
> as it is not available A common solution is to set the environment
> variable JAVA_HOME to your jdk directory.

Ant can /normally/ guess JAVA_HOME from the PATH.  At least,
this works for me on several different Linux boxes with JDKs
installed in various random locations.  It doesn't work on
the Alpha machines at Sanger, though.  Don't know why.

I'll tkae a look at the ant driver script and see if I can
improve the guessing code.

   Thomas.