From 5aae034ba6e90c09a58d8f33f0e681aa8957935f Mon Sep 17 00:00:00 2001 From: sanyam142mittal Date: Thu, 30 Apr 2020 22:11:38 +0530 Subject: [PATCH 1/2] Adds instruction for creating JAVA_HOME env variable JAVA_HOME environment variable is required by Gradle. Gradle compilation fails otherwise. --- docs/BuildFromSource.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/BuildFromSource.md b/docs/BuildFromSource.md index d4e00f894250..663e3cd81332 100644 --- a/docs/BuildFromSource.md +++ b/docs/BuildFromSource.md @@ -33,6 +33,7 @@ Building ASP.NET Core on Windows requires: ``` However, the build should find any JDK 11 or newer installation on the machine. + * Set JAVA_HOME environment variable with the path of java installation directory (Gradle needs this for execution) * Chrome - Selenium-based tests require a version of Chrome to be installed. Download and install it from ### macOS/Linux From 06ee948fa6d69f40109d2acb45cdfcb40973c4fe Mon Sep 17 00:00:00 2001 From: sanyam142mittal Date: Sun, 10 May 2020 15:09:00 +0530 Subject: [PATCH 2/2] Update docs/BuildFromSource.md Co-authored-by: Doug Bunting <6431421+dougbu@users.noreply.github.com> --- docs/BuildFromSource.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/BuildFromSource.md b/docs/BuildFromSource.md index 663e3cd81332..f4d9bf18a4cd 100644 --- a/docs/BuildFromSource.md +++ b/docs/BuildFromSource.md @@ -33,7 +33,9 @@ Building ASP.NET Core on Windows requires: ``` However, the build should find any JDK 11 or newer installation on the machine. - * Set JAVA_HOME environment variable with the path of java installation directory (Gradle needs this for execution) + * Set the `JAVA_HOME` environment variable with the path of the java installation directory if your installation did not do that automatically. (Gradle needs this for execution.) + * This will be `RepoRoot/.tools/jdk/win-x64/` if you used the `InstallJdk.ps1` script + * This will be `C:/Program FIles/Java/jdk/` if you installed the JDK globally * Chrome - Selenium-based tests require a version of Chrome to be installed. Download and install it from ### macOS/Linux