make/common/shared/Defs-java.gmk

Print this page

        

@@ -94,11 +94,11 @@
 
 # JAVA_TOOLS_DIR is the default location to find Java tools to run, if
 #    langtools is not available.
 #    This should be the latest promoted JDK javac.
 ifndef JAVA_TOOLS_DIR
-  JAVA_TOOLS_DIR = $(JDK_IMPORT_PATH)/bin
+  JAVA_TOOLS_DIR = $(BOOTDIR)/bin
 endif
 
 #
 # Invoking the Java compiler.   In leaf makefiles, choose as follows:
 #  -- Use JAVAC if you want to take full control of what options get