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.
1 parent f7cb46c commit 0aa6db8Copy full SHA for 0aa6db8
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