Я пытаюсь собрать последнюю версию Java OpenJDK на Windows 11 из исходного кода с помощью Cygwin из репозитория Git.https://github.com/openjdk/loom
Следуя инструкциям в README.md, я вижу
If you are eager to try out building the JDK, these simple steps works most of the time. They assume that you have installed Git (and Cygwin if running on Windows) and cloned the top-level JDK repository that you want to build.
Get the complete source code:
git clone https://git.openjdk.java.net/jdk/
Run configure:
bash configure
If configure fails due to missing dependencies most of the time it prints a suggestion on how to resolve the situation on
your platform. Follow the instructions, and try running `bash configure`
again.
я делаю
bash configure --enable-absolute-paths-in-output
(Пробовал и с флагом --enable, и без него)
У меня установлено сообщество Visual Studio и надстройка C++ для разработки настольных приложений.
Доходит до следующего, затем происходит сбой.
Есть ли какие-нибудь указания?
configure: Using default toolchain microsoft (Microsoft Visual Studio)
configure: Found Visual Studio installation at /cygdrive/c/progra~1/mib055~1/2022/Community using well-known name
configure: Warning: None of vc/bin/amd64/vcvars64.bat vc/bin/x86_amd64/vcvarsx86_amd64.bat vc/auxiliary/build/vcvarsx86_amd64.bat vc/auxiliary/build/vcvars64.bat were found, Visual Studio installation not recognized. Ignoring
configure: Found Visual Studio installation at /cygdrive/c/progra~1/mib055~1/2022/Community using well-known name
configure: Warning: None of vc/bin/amd64/vcvars64.bat vc/bin/x86_amd64/vcvarsx86_amd64.bat vc/auxiliary/build/vcvarsx86_amd64.bat vc/auxiliary/build/vcvars64.bat were found, Visual Studio installation not recognized. Ignoring
configure: error: Cannot locate a valid Visual Studio installation
configure exiting with result code 1