diff --git a/make/langtools/build.properties b/make/langtools/build.properties
index f6a3d7fd5ef..53260739538 100644
--- a/make/langtools/build.properties
+++ b/make/langtools/build.properties
@@ -24,9 +24,7 @@
#
#javac configuration for "normal build" (these will be passed to the bootstrap compiler):
-javac.opts = -XDignore.symbol.file=true -Xlint:all,-deprecation,-options,-exports -Werror -g:source,lines,vars
-javac.source = 9
-javac.target = 9
+javac.opts = -XDignore.symbol.file=true -Xlint:all,-deprecation,-exports -Werror -g:source,lines,vars
#version used to compile build tools
javac.build.opts = -XDignore.symbol.file=true -Xlint:all,-deprecation,-options -Werror -g:source,lines,vars
diff --git a/make/langtools/build.xml b/make/langtools/build.xml
index 841777c49d8..ea35e5cec87 100644
--- a/make/langtools/build.xml
+++ b/make/langtools/build.xml
@@ -232,7 +232,6 @@
${source.files}
-