This is an automated email from the ASF dual-hosted git repository.
hepin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-pekko.git
The following commit(s) were added to refs/heads/main by this push:
new 685f17b1de Document JAVA_8_HOME in error message
685f17b1de is described below
commit 685f17b1dea36b327f264eb59bd0437aaaa4e4ae
Author: Arnout Engelen <[email protected]>
AuthorDate: Wed May 24 11:05:51 2023 +0200
Document JAVA_8_HOME in error message
When no Java 8 installation is found, mention in the error message that
you can also use the JAVA_8_HOME environment variable to help the build
find it.
---
project/JdkOptions.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/project/JdkOptions.scala b/project/JdkOptions.scala
index 701065bfc6..b5bd7a1d09 100644
--- a/project/JdkOptions.scala
+++ b/project/JdkOptions.scala
@@ -88,7 +88,7 @@ object JdkOptions extends AutoPlugin {
jdk11options(java8home)
case None =>
throw new MessageOnlyException(
- "A JDK 8 installation was not found, but is required to build
Apache Pekko. To manually specify a JDK 8 installation, use the \"set every
jdk8home := \\\"/path/to/jdk\\\" sbt command. If you have no JDK 8
installation, target your system JDK with the \"set every targetSystemJdk :=
true\" sbt command, but beware resulting artifacts will not work on JDK 8")
+ "A JDK 8 installation was not found, but is required to build
Apache Pekko. To manually specify a JDK 8 installation, set the JAVA_8_HOME
environment variable to its path or use the \"set every jdk8home :=
\\\"/path/to/jdk\\\" sbt command. If you have no JDK 8 installation, target
your system JDK with the \"set every targetSystemJdk := true\" sbt command, but
beware resulting artifacts will not work on JDK 8")
}
val targetJdkSettings = Seq(targetSystemJdk := false, jdk8home :=
sys.env.get("JAVA_8_HOME").getOrElse(""))
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]