1 ## Instruction of Building Corretto on Windows 2 3 Corretto on Windows includes one subproject. 4 5 The `:zip` project builds and packages Corretto archive as zip file. Before executing 6 this project, you need to provide the following parameters: 7 8 ```$xslt 9 bootjdk_dir # Path of bootstrap JDK. To build Corretto, a JDK of the same or previous version is required. 10 11 ucrt_dll_dir # Path of ucrt library directory. 12 13 jtreg_dir # Path of Jtreg. 14 15 vcruntime_dir # Path of the latest vcruntime140.dll 16 ``` 17 18 To execute this, run: `./gradlew :installers:windows:zip:build` at `corretto-<version>` root directory. 19 The zip archive is located at `/installers/windows/zip/corretto-build/distributions` 20 21 ```$xslt 22 ➜ ./gradlew :installers:windows:zip:build \ 23 -Pbootjdk_dir=... \ 24 -Pucrt_dll_dir=... \ 25 -Pjtreg_dir=... \ 26 -Pvcruntime_dir=... 27 ➜ tree installers/windows/zip/corretto-build/distributions 28 installers/windows/zip/corretto-build/distributions 29 └── unsigned-jdk-image.zip 30 ```