Skip to content

Commit cb83d5d

Browse files
Adds instruction for creating JAVA_HOME env variable (#21371)
1 parent a410ed4 commit cb83d5d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/BuildFromSource.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ Building ASP.NET Core on Windows requires:
3333
```
3434
3535
However, the build should find any JDK 11 or newer installation on the machine.
36+
* 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.)
37+
* This will be `RepoRoot/.tools/jdk/win-x64/` if you used the `InstallJdk.ps1` script
38+
* This will be `C:/Program FIles/Java/jdk<version>/` if you installed the JDK globally
3639
* Chrome - Selenium-based tests require a version of Chrome to be installed. Download and install it from <https://www.google.com/chrome>
3740
3841
### macOS/Linux

0 commit comments

Comments
 (0)