Skip to content

JDK zip not found when running .\eng\scripts\InstallJdk.ps1 #58457

@ShreyasJejurkar

Description

@ShreyasJejurkar

Trying to build all repos on my new machine by referring https://github.com/dotnet/aspnetcore/blob/main/docs/BuildFromSource.md. I found that I don't have JDK installed, so tried to install it with the script in the scripts folder, but getting the below error. Looks like the resource is not on the server.

Image

Looks like we need to update this, or maybe if we can detect we are on windows (which we can I guess) we can use Winget to install JDK instead of relying on this. It will be simple and less error prone.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-infrastructureIncludes: MSBuild projects/targets, build scripts, CI, Installers and shared framework

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions