<div dir="ltr">By following Kevin's suggestion, I was able to successfully build JavaFX and run the unit tests.<div><br></div><div>Thanks Kevin!</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Aug 30, 2024 at 12:51 PM Knee Snap <<a href="mailto:kneester77@gmail.com">kneester77@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">I tried this suggestion (the one Kevin has suggested) but I got warnings about Gradle verification failures, and it listed specifically the JavaFX version I had specified. Tried with a few different  modern versions to no avail. Perhaps I'll try again and see if I can ignore those warnings.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Aug 30, 2024, 8:08 AM Kevin Rushforth <<a href="mailto:kevin.rushforth@oracle.com" target="_blank">kevin.rushforth@oracle.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u>

  
  <div>
    It looks like cygwin might not be in your path when that media shell
    script is being executed. Maybe it's getting reset by your .bashrc
    or .profile script?<br>
    <br>
    You might try building without media and webkit, although you'll
    need to download a fairly recent version of those libraries if you
    don't. Try replacing " -PCOMPILE_WEBKIT=true -PCOMPILE_MEDIA=true"
    with "-PSTUB_RUNTIME_OPENJFX=24-ea+5".<br>
    <br>
    -- Kevin<br>
    <br>
    <br>
    <div>On 8/30/2024 7:49 AM, Nir Lisker wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">I have WSL 2 and I didn't get this error. For
        Windows, you're not supposed to use WSL at all for the building
        process, so no reason for it to be involved. I suggest that you
        just run "./gradlew :media:buildWINGlib" (which is where the
        error is occurring) with --debug or --info.<br>
        <div><br>
        </div>
        <div>Did you set up Visual Studio? It's required
          for WINDOWS_NATIVE_COMPILE_ENVIRONMENT.</div>
        <div><br>
        </div>
        <div>- Nir</div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Fri, Aug 30, 2024 at
          8:23 AM Knee Snap <<a href="mailto:kneester77@gmail.com" rel="noreferrer" target="_blank">kneester77@gmail.com</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div dir="ltr">
            <div>Upon trying to run "./gradlew -PFULL_TEST=true
              -PUSE_ROBOT=true -PCOMPILE_WEBKIT=true
              -PCOMPILE_MEDIA=true all test", I am eventually confronted
              with the following output:</div>
            <div><br>
            </div>
            <div>"</div>
            > Task :media:buildWinGlib<br>
            make: Entering directory
'/cygdrive/g/Playground/jfx/modules/javafx.media/src/main/native/gstreamer/projects/win/glib-lite'<br>
            /bin/sh: line 1: cygpath: command not found<br>
            /bin/sh: line 1: cygpath: command not found<br>
            /bin/sh: line 1: cygpath: command not found<br>
            /bin/sh: line 1: cygpath: command not found<br>
            /bin/sh: line 1: cygpath: command not found<br>
            /bin/sh: line 1: cygpath: command not found<br>
            /bin/sh: line 1: cygpath: command not found<br>
            /bin/sh: line 1: cygpath: command not found<br>
            /bin/sh: line 1: cygpath: command not found<br>
            /bin/sh: line 1: cygpath: command not found<br>
            /bin/sh: line 1: cygpath: command not found<br>
            /bin/sh: line 1: cygpath: command not found<br>
            /bin/sh: line 1: cygpath: command not found<br>
            /bin/sh: line 1: cygpath: command not found<br>
            /bin/sh: line 1: cygpath: command not found<br>
            /bin/sh: line 1: cygpath: command not found<br>
            /bin/sh: line 1: cygpath: command not found<br>
            /bin/sh: line 1: cygpath: command not found<br>
            /bin/sh: line 1: cygpath: command not found<br>
            /bin/sh: line 1: cygpath: command not found<br>
            make TARGET=/libffi.lib -f Makefile.ffi<br>
            /bin/sh: line 1: cygpath: command not found<br>
            /bin/sh: line 1: cygpath: command not found<br>
            /bin/sh: line 1: cygpath: command not found<br>
            /bin/sh: line 1: cygpath: command not found<br>
            /bin/sh: line 1: cygpath: command not found<br>
            make: make: Not a directory<br>
            make: *** [Makefile:65: /libffi.lib] Error 127<br>
            make: Leaving directory
'/cygdrive/g/Playground/jfx/modules/javafx.media/src/main/native/gstreamer/projects/win/glib-lite'<br>
            <div>"</div>
            <div><br>
            </div>
            <div>However, if I immediately run "cygpath", it does run
              successfully. (See screenshot below).</div>
            <div>I'm not really sure what's going on, but I suspect that
              either somehow my WSL installation is getting used by
              gradle instead (not sure if that's even possible, but
              maybe? I don't know enough about how cygwin works), or
              something even more difficult to pinpoint is going on.</div>
            <div><br>
            </div>
            <div>Can someone help me resolve this issue? I've gotten a
              bit stuck. Thanks!</div>
            <div><br>
            </div>
            <div><img alt="image.png" width="542" height="484"><br>
            </div>
            <div><br>
            </div>
          </div>
        </blockquote>
      </div>
    </blockquote>
    <br>
  </div>
</blockquote></div>
</blockquote></div>