On 8/15/22 12:32 AM, Nir Lisker wrote:
(I have '%SystemRoot%\system32' which is exported to Cygwin correctly).
That works, too. I have to admit, my troubles on Windows at the time were self-inflicted. I was trying to reduce my PATH to its minimum (shown formatted below), but I left off 'Windows/System32', which causes difficult and hidden errors in the JavaFX build.
$ echo $PATH /home/john/opt/apache-ant-1.10.12/bin :/home/john/opt/jdk-18.0.1.1/bin :/home/john/opt/cmake-3.23.1-windows-x86_64/bin :/usr/sbin:/usr/bin:/sbin:/bin :/cygdrive/c/Windows/System32
I managed to fix my issue by replacing the paths in the wiki's 'windows_tools.properties' file.
I tried editing that file, too, but I couldn't get it working. It also has almost 80 program and SDK directory entries on its paths that aren't on my system at all, so I was reluctant even to start with it.
In any case, the JavaFX build on Windows is supposed to generate a properties file that works for your system, so something's wrong -- likely in the build script -- if it doesn't. I certainly understand, though, if a developer decides to move on and save that battle for another day. :-)
John