Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8335768

openjdk source build fails on cygwin

XMLWordPrintable

    • other
    • other

      ADDITIONAL SYSTEM INFORMATION :
      cygwin 3.5.3 on Windows 10

      A DESCRIPTION OF THE PROBLEM :
      Download and unpack openjdk, download and install openjdk 22 as "boot jdk", point JAVA_HOME to it.
      Run ./configure; cygwin is apparently recognized and used to be supported before (https://bugs.openjdk.org/browse/JDK-8079087, https://bugs.openjdk.org/browse/JDK-6260866):
      ...
      checking Windows environment type... cygwin
      checking cygwin drive prefix... '/cygdrive'
      checking cygwin root directory as Windows path... 'C:\cygwin64'
      checking cygwin temp directory... /tmp
      checking cygwin release... 3.5.3-1.x86_64
      checking cygwin version... 2024-04-03 17:25 UTC
      checking Windows version... 10.0.19045.4412
      ...
      but then it refers to Visual Studio (does it really need that to build in a POSIX environment?) and fails:
      configure: Found Visual Studio installation at /cygdrive/c/progra~2/micros~2/2019/BuildTools using well-known name
      configure: Found Microsoft Visual Studio 2019
      configure: Trying to extract Visual Studio environment variables for x86_64
      configure: using /cygdrive/c/progra~2/micros~2/2019/BuildTools/vc/auxiliary/build/vcvars64.bat
      Das System kann auf die Datei nicht zugreifen.
      configure: Could not successfully extract the environment variables needed for the VS setup.
      configure: Try setting --with-tools-dir to the VC/bin directory within the VS installation.
      configure: To analyze the problem, see extract-vs-env.log and extract-vs-env.bat in
      configure: /home/towo/tmp/jdk/build/windows-x86_64-server-release/configure-support/vs-env-x86_64.
      configure: error: Cannot continue



            asajeev Anjana Sajeev
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: