Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Support building JDK for Windows #5

Open
Marcono1234 opened this issue Aug 23, 2021 · 1 comment
Open

Support building JDK for Windows #5

Marcono1234 opened this issue Aug 23, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@Marcono1234
Copy link
Owner

Marcono1234 commented Aug 23, 2021

As pointed out in #3 it might be useful to allow building the JDK for Windows as well.
Some JDK Java source files are OS specific; the current Linux build only seems to compile Linux and Unix (and for JDK 8 Solaris?) Java source files, but no Windows specific Java source code.

The JDK building guide indicates that this is possible using WSL (though most likely only for newer JDK versions).
This might require a separate Dockerfile.

Edit: Building using WSL is most likely not desirable because the build would then depend on the host environment and would require modifying it (e.g. installing Visual Studio).
It might be possible to use Docker Windows Containers instead (see Docker documentation), but that requires Windows 10 Professional or Enterprise (see documentation). The build could be based on the configuration the OpenJDK is using for their GitHub workflow.

@Marcono1234 Marcono1234 added the enhancement New feature or request label Aug 23, 2021
@Dark403969
Copy link

#3

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants