We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f7cb46c + 0aa6db8 commit fb0a21aCopy full SHA for fb0a21a
project/JavacBootClasspathPlugin.scala
@@ -32,7 +32,7 @@ object JavacBootClasspathPlugin extends AutoPlugin {
32
private def toolsJar: File = javaHomeDirectory / "lib" / "tools.jar"
33
private def javaHomeDirectory: File = {
34
val home = file(System.getProperty("java.home"))
35
- if (Properties.isJavaAtLeast("8"))
+ if (Properties.isJavaAtLeast("8") && !Properties.isJavaAtLeast("11"))
36
home.getParentFile
37
else
38
home
0 commit comments