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

Configure with VS2013 fails if Windows SDK 7.1 is present unless VS2010 is also present

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 9
    • 9
    • infrastructure
    • Windows 7
      Visual Studio 2013
      Up-to-date jdk9/client forest

    • x86_64
    • windows_7

    Description

      I am trying to build jdk9/client on a Windows 7 system with Visual Studio 2013 Professional and also the Windows 7.1 SDK samples, which is required for building the JavaFX media library. Visual Studio 2010 is not installed.

      Running config on this system fails because the Visual Studio detection logic assumes that if Windows 7.1 SDK is there, then the system has VS 2010 and it tries to use that.

      $ sh configure --with-boot-jdk="C:/java/x64/jdk1.8.0_31" --with-ant-home="${ANT_HOME}"
      ...
      configure: Found Windows SDK installation at /cygdrive/c/Program Files/Microsoft SDKs/Windows/v7.1 using well-known name
      configure: Found Microsoft Visual Studio 2010
      configure: Rewriting VS_ENV_CMD to "/cygdrive/c/progra~1/mia713~1/windows/v7.1/bin/setenv.cmd"
      configure: Trying to extract Visual Studio environment variables
      ERROR: The system was unable to find the specified registry key or value.
      ERROR: The system was unable to find the specified registry key or value.
      ERROR: The system was unable to find the specified registry key or value.
      The x64 compilers are not currently installed.
      Please go to Add/Remove Programs to update your installation.
      .
      Setting SDK environment relative to C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1\.
      Targeting Windows 7 x64 Debug

      configure: Setting extracted environment variables
      checking for Visual Studio variables... ok
      checking for cl... no
      configure: error: Could not find a C compiler.
      configure exiting with result code 1

      Attachments

        Activity

          People

            erikj Erik Joelsson
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: