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 dfbef61 commit a6d9f37Copy full SHA for a6d9f37
src/test/scala/com/typesafe/genjavadoc/util/JavaCompiler.scala
@@ -9,6 +9,10 @@ import scala.collection.JavaConverters._
9
class JavaCompiler {
10
11
private val compiler = ToolProvider.getSystemJavaCompiler()
12
+ if (compiler == null)
13
+ throw new IllegalStateException(
14
+ s"No compiler found - please run the tests with a JDK, not just a JRE (${System.getProperties.get("java.home")})"
15
+ )
16
17
val target = IO.tempDir("java-classes")
18
0 commit comments