diff --git a/bindings/java/Makefile.am b/bindings/java/Makefile.am index 8d2e49d..549d81a 100644 --- a/bindings/java/Makefile.am +++ b/bindings/java/Makefile.am @@ -25,8 +25,8 @@ EXTRA_DIST = org/collectd/api/CollectdConfigInterface.java \ org/collectd/java/JMXMemory.java java-build-stamp: $(srcdir)/org/collectd/api/*.java $(srcdir)/org/collectd/java/*.java - $(JAVAC) -d "." "$(srcdir)/org/collectd/api"/*.java - $(JAVAC) -d "." "$(srcdir)/org/collectd/java"/*.java + $(JAVAC) $(JAVAC_TARGET) -d "." "$(srcdir)/org/collectd/api"/*.java + $(JAVAC) $(JAVAC_TARGET) -d "." "$(srcdir)/org/collectd/java"/*.java mkdir -p .libs $(JAR) cf .libs/collectd-api.jar "org/collectd/api"/*.class $(JAR) cf .libs/generic-jmx.jar "org/collectd/java"/*.class diff --git a/bindings/java/Makefile.in b/bindings/java/Makefile.in index 1c57558..c8ab086 100644 --- a/bindings/java/Makefile.in +++ b/bindings/java/Makefile.in @@ -597,8 +597,8 @@ uninstall-am: uninstall-local java-build-stamp: $(srcdir)/org/collectd/api/*.java $(srcdir)/org/collectd/java/*.java - $(JAVAC) -d "." "$(srcdir)/org/collectd/api"/*.java - $(JAVAC) -d "." "$(srcdir)/org/collectd/java"/*.java + $(JAVAC) $(JAVAC_TARGET) -d "." "$(srcdir)/org/collectd/api"/*.java + $(JAVAC) $(JAVAC_TARGET) -d "." "$(srcdir)/org/collectd/java"/*.java mkdir -p .libs $(JAR) cf .libs/collectd-api.jar "org/collectd/api"/*.class $(JAR) cf .libs/generic-jmx.jar "org/collectd/java"/*.class