From cb83d5d1550e5364af8bb8525689a9788364d019 Mon Sep 17 00:00:00 2001 From: sanyam142mittal Date: Mon, 11 May 2020 06:28:22 +0530 Subject: [PATCH] Adds instruction for creating JAVA_HOME env variable (#21371) --- docs/BuildFromSource.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/BuildFromSource.md b/docs/BuildFromSource.md index dc2ab23278..835459f296 100644 --- a/docs/BuildFromSource.md +++ b/docs/BuildFromSource.md @@ -33,6 +33,9 @@ Building ASP.NET Core on Windows requires: ``` However, the build should find any JDK 11 or newer installation on the machine. + * 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