From The Document Foundation Wiki
- Java Development Kit (JDK) Version 9 or later. Make sure to get a 32-bit SDK if you are building for 32-bit Windows, and a 64-bit SDK if you are building for 64-bit Windows (with
--enable-64-bit). Grab it from adoptopenjdk.net or oracle.com (Oracle requires login to download).