Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by akreuzer
, 3 months ago
Could not automatically find the JDK/lib/tools.jar. You must explicitly set JDK_HOME or JAVA_HOME.
java.io.FileNotFoundException: Could not automatically find the JDK/lib/tools.jar. You must explicitly set JDK_HOME or JAVA_HOME. at org.ensime.EnsimePlugin$.$anonfun$JdkDir$6(EnsimePlugin.scala:639) at scala.Option.getOrElse(Option.scala:121) at org.ensime.EnsimePlugin$.JdkDir$lzycompute(EnsimePlugin.scala:638) at org.ensime.EnsimePlugin$.JdkDir(EnsimePlugin.scala:626) at org.ensime.EnsimePlugin$.$anonfun$buildSettings$16(EnsimePlugin.scala:175) at scala.Option.getOrElse(Option.scala:121) at org.ensime.EnsimePlugin$.$anonfun$buildSettings$15(EnsimePlugin.scala:175) at scala.Function1.$anonfun$compose$1(Function1.scala:44) at sbt.internal.util.EvaluateSettings$MixedNode.evaluate0(INode.scala:214) at sbt.internal.util.EvaluateSettings$INode.evaluate(INode.scala:159) at sbt.internal.util.EvaluateSettings.$anonfun$submitEvaluate$1(INode.scala:82) at sbt.internal.util.EvaluateSettings.sbt$internal$util$EvaluateSettings$$run0(INode.scala:93) at sbt.internal.util.EvaluateSettings$$anon$3.run(INode.scala:89)