Skip to content

Commit

Permalink
Bootstrapping on Windows requires JDK 11, just like on non-Windows
Browse files Browse the repository at this point in the history
When I attempted to bootstrap Bazel on Windows by following the
directions, I discovered that JDK 8 (specified in the directions)
did not work, but that JDK 11 (as specified in the directions for
non-Windows system) did work.  So the directions for Windows are
apparently stale.

In order to fix them, we here simply copy the non-Windows JDK version
advice to the Windows section.

Fixes #16004.

Closes #16006.

PiperOrigin-RevId: 464775438
Change-Id: I33de90c9ae2647d3567017033f1e5082ce37cea6
  • Loading branch information
yelliott authored and copybara-github committed Aug 2, 2022
1 parent c17aa7b commit e53162b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions site/en/install/compile-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,7 @@ For instructions for Unix-like systems, see
of Visual Studio 2015 or newer, or by installing the latest [Build Tools
for Visual Studio 2017](https://aka.ms/BuildTools).

* **JDK 8.** You must install version 8 of the JDK. Versions other than 8 are
*not* supported.
* **JDK.** Version 11 is required.

* **Python**. Versions 2 and 3 are supported, installing one of them is
enough. You need the Windows-native version (downloadable from
Expand Down

0 comments on commit e53162b

Please sign in to comment.