GraalVM for Windows

Currently (2019-04-01) there's no full GraalVM distribution for Windows. One can get the preview version for Windows from the OTN GraalVM page which includes the Graal compiler. However, the native-image functionality, being OS specific, doesn't work very well on Windows yet. The GraalVM team is actively working on it and you can follow the progress on GitHub -- https://github.com/oracle/graal.

I've heard that WLS works with the linux version or one can try building in a container or a virtual machine. Which is not ideal, but can serve as a workaround until things work.


https://github.com/oracle/graal/releases/tag/vm-19.0.0 introduces Early Adopter Windows Support

It's the first release with Windows support so don't assume same experience as with Linux or macOS distros. Some issues for example - https://github.com/oracle/graal/issues/1255 / https://github.com/oracle/graal/issues/1258 / https://github.com/oracle/graal/issues/1241

If you want to try Windows + native-image combo, be sure you have installed Windows SDK for Windows 7 (not the one for Windows 10!) and running native-image command from Windows SDK 7.1 Command Prompt. You may need to edit some registry entries (see the second and third link below). More details on GH issues and here on SO: - https://github.com/oracle/graal/issues/1258#issuecomment-491325870 - https://github.com/oracle/graal/issues/1258#issuecomment-492148559 - Cannot install Windows SDK 7.1 on Windows 10

On Quarkus side there is an initial work for Windows done via https://github.com/quarkusio/quarkus/pull/2395 Quarkus team is working on changes to properly support GraalVM 19.0.