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

Fix devkit creation in WSL

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 13
    • 13
    • infrastructure
    • None
    • b03
    • windows

    Description

      From Andrew Luo on build-dev http://mail.openjdk.java.net/pipermail/build-dev/2019-January/024572.html:

      ---
      Hi,

      I noticed that we have a few scripts checked in for creating devkits on Windows. However they only work in Cygwin. Since we recently added support for WSL, it seems like it would be nice to be able to use those scripts on WSL as well...

      Anyways, patch is attached. This one you do have to open a VS2017 Native Tools Command Prompt but I think that's the same as before (in Cygwin). I tested the script in WSL and everything seems to work (I did have to change some of the versions at the top since the version of VS2017 I have installed is much newer, but I reverted those changes before generating this diff), but will need someone to check Cygwin as well.

      I didn't update the VS2013 and VS2015 scripts. As far as I'm aware we don't (officially) support those compilers anymore: https://wiki.openjdk.java.net/display/Build/Supported+Build+Platforms

      Thanks,

      -Andrew
      ---

      Attachments

        Activity

          People

            erikj Erik Joelsson
            erikj Erik Joelsson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: