Просмотр исходного кода

Adds instruction for creating JAVA_HOME env variable (#21371)

sanyam142mittal 5 лет назад
Родитель
Сommit
cb83d5d155
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      docs/BuildFromSource.md

+ 3 - 0
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<version>/` if you installed the JDK globally
 * Chrome - Selenium-based tests require a version of Chrome to be installed. Download and install it from <https://www.google.com/chrome>
 
 ### macOS/Linux