[jdk8u-dev] RFR: 8366112: [8u] GHA: Fix broken installation of Windows SDK
Zdenek Zambersky
zzambers at openjdk.org
Mon Aug 25 17:13:15 UTC 2025
Installation of Windows SDK 10 by VS 2017 [no longer works](https://github.com/kvergizova/jdk8u-dev/actions/runs/17135435204/job/48610166513). This causes configure failure for windows x64 builds (during freetype configuration):
configure: User specified --with-freetype-src but building freetype failed. (see freetype.log for build results)
Actual failure is (from freetype.log):
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Cpp.WindowsSDK.targets(46,5): error MSB8036: The Windows SDK version 10.0.17763.0 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solution". [D:\a\jdk8u-dev\jdk8u-dev\freetype\builds\windows\vc2010\freetype.vcxproj]
While VS 2017 shows no installation errors, it seems like requested SDK version (17763) is no longer available and need to be updated. (VS 2017 installer apparently downloads components from the internet)
Fix:
When checked manually in Windows VM, `19041` was only Windows SDK 10 version available in VS2017 installer, so I switched to that version.
-------------
Commit messages:
- Fixed Windows SDK 10 installation
Changes: https://git.openjdk.org/jdk8u-dev/pull/681/files
Webrev: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=681&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8366112
Stats: 2 lines in 2 files changed: 0 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk8u-dev/pull/681.diff
Fetch: git fetch https://git.openjdk.org/jdk8u-dev.git pull/681/head:pull/681
PR: https://git.openjdk.org/jdk8u-dev/pull/681
More information about the jdk8u-dev
mailing list