db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew McIntyre" <mcintyr...@gmail.com>
Subject Re: What java compiler does the build default to?
Date Thu, 22 Mar 2007 06:56:28 GMT
On 3/16/07, John H. Embretsen <John.Embretsen@sun.com> wrote:
>
> When I have my PATH set to JDK 1.5, and don't set JAVA_HOME, it reports
> the path to the JDK 1.5 jre/ directory. However, when I set JAVA_HOME to
> JDK 1.4, it reports the path to the JDK 1.4 jre/ directory instead. In
> the latter case, which compiler is used, 1.5 or 1.4?

The compiler being used is the compiler for the JDK used to invoke
Ant. In the latter case mentioned here, it would be the 1.4 compiler.

andrew

Mime
View raw message