Failing to build JavaFX

Knee Snap kneester77 at gmail.com
Fri Aug 30 05:22:39 UTC 2024


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:

"
> Task :media:buildWinGlib
make: Entering directory
'/cygdrive/g/Playground/jfx/modules/javafx.media/src/main/native/gstreamer/projects/win/glib-lite'
/bin/sh: line 1: cygpath: command not found
/bin/sh: line 1: cygpath: command not found
/bin/sh: line 1: cygpath: command not found
/bin/sh: line 1: cygpath: command not found
/bin/sh: line 1: cygpath: command not found
/bin/sh: line 1: cygpath: command not found
/bin/sh: line 1: cygpath: command not found
/bin/sh: line 1: cygpath: command not found
/bin/sh: line 1: cygpath: command not found
/bin/sh: line 1: cygpath: command not found
/bin/sh: line 1: cygpath: command not found
/bin/sh: line 1: cygpath: command not found
/bin/sh: line 1: cygpath: command not found
/bin/sh: line 1: cygpath: command not found
/bin/sh: line 1: cygpath: command not found
/bin/sh: line 1: cygpath: command not found
/bin/sh: line 1: cygpath: command not found
/bin/sh: line 1: cygpath: command not found
/bin/sh: line 1: cygpath: command not found
/bin/sh: line 1: cygpath: command not found
make TARGET=/libffi.lib -f Makefile.ffi
/bin/sh: line 1: cygpath: command not found
/bin/sh: line 1: cygpath: command not found
/bin/sh: line 1: cygpath: command not found
/bin/sh: line 1: cygpath: command not found
/bin/sh: line 1: cygpath: command not found
make: make: Not a directory
make: *** [Makefile:65: /libffi.lib] Error 127
make: Leaving directory
'/cygdrive/g/Playground/jfx/modules/javafx.media/src/main/native/gstreamer/projects/win/glib-lite'
"

However, if I immediately run "cygpath", it does run successfully. (See
screenshot below).
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.

Can someone help me resolve this issue? I've gotten a bit stuck. Thanks!

[image: image.png]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/openjfx-dev/attachments/20240829/b47be118/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 93910 bytes
Desc: not available
URL: <https://mail.openjdk.org/pipermail/openjfx-dev/attachments/20240829/b47be118/image-0001.png>


More information about the openjfx-dev mailing list