Choosing which Visual Studio installation to use

Thomas Stüfe thomas.stuefe at
Wed Feb 14 11:42:50 UTC 2018

Hi Adrian,

On Wed, Feb 14, 2018 at 12:29 PM, John Paul Adrian Glaubitz <
glaubitz at> wrote:

> Hi Thomas!
> On 02/14/2018 12:24 PM, Thomas Stüfe wrote:
>> On Windows, if one has multiple VS installations side by side, is it
>> possible to choose which Visual Studio installation to use?
> From my slightly rusted memory regarding Visual Studio, isn't the regular
> way to choose a certain VS toolchain calling a batch script which sets
> the environment variables for the toolchain to be used.
> That is, when you open a command prompt and type "cl.exe" which usually
> end up with a "Bad command or filename" error as none of the command
> line utilities are normally set in $PATH.
Yes, that is normally the way - that or just starting the corresponding
"visual studio command prompt" shell. That is why I was specifying that I
am running from cygwin shell - the openjdk build somehow chooses that batch
script for you, and it would be nice to be able to choose with a configure


> So, I would guess that you would use that method for OpenJDK as well?
> Adrian
> --
>  .''`.  John Paul Adrian Glaubitz
> : :' :  Debian Developer - glaubitz at
> `. `'   Freie Universitaet Berlin - glaubitz at
>   `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

More information about the build-dev mailing list