Configuration Error in JDK Build Java 8 (JDK8u) for VS
Ken Taylor
archon358 at yahoo.com
Wed Jan 12 23:52:27 UTC 2022
I am trying to build JDK 8 from the jdk8u repo, master branch.Project was forked and cloned into a Windows 10 VM.Building in Cygwin.
It appears that the change to support VS 2019 has not been checked in.
=======================================================
JDK Build Instructions:
Microsoft Visual Studio
The minimum accepted version of Visual Studio is 2017. Older versions will not be accepted by configure and will not work.
The maximum accepted version of Visual Studio is 2019.
If you have multiple versions of Visual Studio installed, configure will by default pick the latest.
You can request a specific version to be used by setting
--with-toolchain-version, e.g. --with-toolchain-version=2017.
=======================================================
Our Command:
./configure
--with-boot-jdk=/cygdrive/c/Programs/Java/jdk1.8.0_301
--with-tools-dir='/cygdrive/c/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Auxiliary'
--with-toolchain-version=2019
=======================================================
Error:
configure: Using default toolchain microsoft (Microsoft Visual Studio)
checking for link... /usr/bin/link
checking if the first found link.exe is actually the Cygwin link tool... yes
configure: Visual Studio version 2019 is not valid.
configure: Valid Visual Studio versions: 2010 2012 2013 2015 2017.
=======================================================
Was this something that got missed and is there a work-around, or should I install VS 2017? BTW, VS 2022 also does not work.
Thanks for any help you can provide.
Ken Taylor
More information about the build-dev
mailing list