From 2a1d997f32fae036b59bf801b07296e2a25c8461 Mon Sep 17 00:00:00 2001 From: Eric Kolotyluk Date: Sat, 19 Nov 2022 09:00:29 -0800 Subject: [PATCH 1/2] Improve README.md Document JAVA_HOME environment variable --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 54a9b5c..fdb9440 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,12 @@ Nevertheless, if you encounter an issue with Helidon, please kindly report it at Java 19 with preview feature "Loom" (now available as RC at https://jdk.java.net/19/) Maven +### Mac OS + + export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-19.jdk/Contents/Home + +or wherever JDK 19 or newer is + ## How to 1. Build the project from the repository root From 5ffc4ad1d08855e0d01540a4b130fde0540afb9e Mon Sep 17 00:00:00 2001 From: Eric Kolotyluk Date: Sat, 19 Nov 2022 09:41:42 -0800 Subject: [PATCH 2/2] Improve prerequisits doc't --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fdb9440..30fe932 100644 --- a/README.md +++ b/README.md @@ -10,11 +10,16 @@ Nevertheless, if you encounter an issue with Helidon, please kindly report it at Java 19 with preview feature "Loom" (now available as RC at https://jdk.java.net/19/) Maven + java -version + +Set your `JAVA_HOME` environment variable as appropriate, and don't forget to update your `PATH` variable too. + ### Mac OS - export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-19.jdk/Contents/Home +Use `/usr/libexec/java_home -V` to see if you have an appropriate JVM. For example... -or wherever JDK 19 or newer is + export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-19.jdk/Contents/Home + export PATH=${JAVA_HOME}/bin:${PATH} ## How to