classpath.inc: Set JAVAC through environment variable.
inherit autotools native
+# Newer versions expect setting the compiler through this
+# environment variable.
+export JAVAC=${STAGING_BINDIR_NATIVE}/ecj-initial
+
EXTRA_OECONF = "\
--with-glibj \
--with-ecj=${STAGING_BINDIR_NATIVE}/ecj-initial \
S = "${WORKDIR}/${PBN}-${PV}"
+# Newer versions expect setting the compiler through this
+# environment variable.
+export JAVAC=${STAGING_BINDIR_NATIVE}/javac
+
EXTRA_OECONF = "\
--with-glibj \
- --with-ecj=javac \
+ --with-ecj=${STAGING_BINDIR_NATIVE}/javac \
--with-fastjar=fastjar \
--includedir=${includedir}/classpath \
--with-vm=java \