[jdk8u-dev] RFR: 8371334: [8u] GHA: installation of VS2010 hangs

Zdenek Zambersky zzambers at openjdk.org
Wed Nov 5 12:13:59 UTC 2025


Installation of VS2010 hangs. As result Windows x86 (32-bit) jobs in GitHub CI timeout and get cancelled.

After some debugging, it turns out, that issue is caused by missing PowerShell 2, required by VS2010 installer. See screenshot:
 <img width="1024" height="768" alt="screen-10" src="https://github.com/user-attachments/assets/3698b0bc-0d35-40e8-bbb3-1aa4c5445ac4" />

PowerShell 2.0 was deprecated and recently stopped being shipped by on windows. Microsoft says following on it's [page](https://support.microsoft.com/en-us/topic/powershell-2-0-removal-from-windows-fe6d1edc-2ed2-4c33-b297-afe82a64200a):


> PowerShell 2.0 will be removed in a later release starting in August 2025 for Windows 11, version 24H2 and a September 2025 release for Windows Server 2025. All later releases for Windows 11 and Windows Server 2025 will not include PowerShell 2.0.


Fortunately they still provide archive to install it manually. This PR does that.

-------------

Commit messages:
 - install PowerShell 2 required by vs2010 installer

Changes: https://git.openjdk.org/jdk8u-dev/pull/712/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=712&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8371334
  Stats: 29 lines in 2 files changed: 29 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk8u-dev/pull/712.diff
  Fetch: git fetch https://git.openjdk.org/jdk8u-dev.git pull/712/head:pull/712

PR: https://git.openjdk.org/jdk8u-dev/pull/712


More information about the jdk8u-dev mailing list