You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The plugin does not detect a Visual Studio installation in C:\Program Files\Microsoft Visual Studio, only in C:\Program Files (x86)\Microsoft Visual Studio. Native image generation consequently fails with the error message:
Couldn't find an installation of Windows SDK 7.1 suitable for GraalVM.
This is a problem when trying to use it in GitHub actions. As a workaround, users can set the plugin's windowsVsVarsPath parameter. But because the path probably is different on GitHub actions runners compared to developer PCs, this has to be done in some dirty workaround fashion like this:
The plugin should automatically search for Visual Studio installations under C:\Program Files (x86)\Microsoft Visual StudioandC:\Program Files\Microsoft Visual Studio.
Side note
The error message shown above is displayed even though the Java version is set to 11. In my understanding, the Windows SDK 7.1 should only be used with Java 8, I guess the error message just does not differentiate, and always reports missing Windows SDK 7.1 (instead of VS Build Tools)?
The text was updated successfully, but these errors were encountered:
What happened?
The plugin does not detect a Visual Studio installation in
C:\Program Files\Microsoft Visual Studio
, only inC:\Program Files (x86)\Microsoft Visual Studio
. Native image generation consequently fails with the error message:This is a problem when trying to use it in GitHub actions. As a workaround, users can set the plugin's
windowsVsVarsPath
parameter. But because the path probably is different on GitHub actions runners compared to developer PCs, this has to be done in some dirty workaround fashion like this:What did you want to happen?
The plugin should automatically search for Visual Studio installations under
C:\Program Files (x86)\Microsoft Visual Studio
andC:\Program Files\Microsoft Visual Studio
.Side note
The error message shown above is displayed even though the Java version is set to 11. In my understanding, the Windows SDK 7.1 should only be used with Java 8, I guess the error message just does not differentiate, and always reports missing Windows SDK 7.1 (instead of VS Build Tools)?
The text was updated successfully, but these errors were encountered: