changeset in /hg/icedtea6: 2008-07-21 Matthias Klose <doko at ubu...
doko at ubuntu.com
Mon Jul 21 13:34:24 PDT 2008
doko at ubuntu.com schrieb:
> 2008-07-21 Matthias Klose <doko at ubuntu.com>
> * Makefile.am (ICEDTEA_ENV, ICEDTEA_ENV_GCJ): Add
> $(abs_top_builddir)/bootstrap/jdk1.6.0/bin to PATH.
I don't know why PATH is set at all in the environment, but that leads to
interesting failures, because ant will use the java binary found in PATH. On
most distributions /usr/bin/java is managed as an alternative, so this may point
to any jvm. The ant shell script varies depending on the distribution. on Ubuntu
you can specify the jvm used by JAVACMD, or by setting JAVA_HOME. Andrew pointed
out that the Gentoo script behaves else. IMO the safest way to ensure that the
bootstrap java is used is to add the bootstrap directory to PATH.
More information about the distro-pkg-dev