<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
I recommend removing the entire build directory (although if you
managed to get "gradle clean" working, then it will do that).<br>
<br>
What version of gradle are you using? You will need gradle 7.6 to
use JDK 19.<br>
<br>
-- Kevin<br>
<br>
<br>
<div class="moz-cite-prefix">On 1/19/2023 10:17 AM, Scott Palmer
wrote:<br>
</div>
<blockquote type="cite" cite="mid:CAL3e5iFzkkknyVDqpZ0GfDH50sjTudtTzfVkc-4Hd3ohKNoKqg@mail.gmail.com">
<div dir="ltr">Tried again with JDK 17.0.5, just in case... still
not working.</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed, Jan 18, 2023 at 3:18
PM Scott Palmer <<a href="mailto:swpalmer@gmail.com" moz-do-not-send="true" class="moz-txt-link-freetext">swpalmer@gmail.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
<div dir="ltr">I'm trying to build OpenJFX on my Mac. I
figured out an issue with the Gradle scripts, they fail if
there is a stale mac_tools.properties file. A 'clean' also
fails for the same reason so you have to manually delete the
file to get it to be re-built. But now the build fails with
the following error:
<div><br>
</div>
<div>> Task :graphics:compileJava FAILED<br>
You specified both --module-source-path and a sourcepath.
These options are mutually exclusive. Ignoring sourcepath.<br>
error: option --upgrade-module-path cannot be used
together with --release<br>
Usage: javac <options> <source files><br>
use --help for a list of possible options<br>
<br>
FAILURE: Build failed with an exception.</div>
<div><br>
</div>
<div>I'm not sure why I would be seeing this error if the
build is working for everyone else. I'm using JDK 19.<br>
</div>
<div>
<div><br>
</div>
<div>Any hints?</div>
</div>
<div><br>
</div>
<div>Btw, the Mac section of <a href="https://wiki.openjdk.org/display/OpenJFX/Building+OpenJFX" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">https://wiki.openjdk.org/display/OpenJFX/Building+OpenJFX</a>
still mentions needing Mercurial. I don't think that's
true anymore.</div>
<div><br>
</div>
<div>Regards,</div>
<div><br>
</div>
<div>Scott</div>
</div>
</blockquote>
</div>
</blockquote>
<br>
</body>
</html>