Fork me on GitHub

had some success compiling a somewhat reduced-in-capability babashka using graal 19.3.0 java 11 on windows 10 it does appear that vs 2017 (+ a couple of options via the installer) are necessary for building (unlike for java 8 based graal things which have so far used windows 7.1 sdk) there are some steps regarding the vs 2017 setup starting here: <> haven't figured out the automation part, but there is a lead among the comments ^ @borkdude @lee


Thanks! It was @filipematossilva who is interested in the Windows build as well

Filipe Silva12:12:32

oh wow I did not expect so much movement on the bb windows binary issue!


the secret was that a fair bit had been worked on already :)

Filipe Silva14:12:11

so like a nucleation point


nice expression :thumbsup:

Filipe Silva12:12:19

you're having trouble installing vs in an automated way?

Filipe Silva12:12:05

I think at some point I did something of the sort... let me see

Filipe Silva12:12:51

choco install visualstudio2019buildtools --version --no-progress --package-parameters "--add Microsoft.VisualStudio.Workload.VCTools --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.Component.VC.Runtime.UCRTSDK --add Microsoft.VisualStudio.Component.Windows10SDK.17763"

Filipe Silva12:12:01

I used this once to get VS installed on a CI

Filipe Silva12:12:22

this was just the built tools though, not the full VS

Filipe Silva12:12:48

but that seems to be the syntax to do it with choco

Filipe Silva12:12:57

btw you testing bb on windows? I can help you get a windows ci going


@filipematossilva it's really good to hear you've got this sort of thing working before :thumbsup: we came across those or similar docs, but (afaik) haven't tried yet.


@borkdude adapting @filipematossilva's info, here's a sketch of a command:

choco install visualstudio2017community --no-progress --package-parameters "--add Microsoft.VisualStudio.Component.VC.Tools.ARM64 --add Microsoft.VisualStudio.Component.VC.CMake.Project"
there might be something missing, but that's a start


possibly it is better to have version info, in which case:

choco install visualstudio2017community --version --no-progress --package-parameters "--add Microsoft.VisualStudio.Component.VC.Tools.ARM64 --add Microsoft.VisualStudio.Component.VC.CMake.Project"


added the info to the issue