Updated OpenJFX build instructions
nlisker at gmail.com
Sat Dec 23 02:04:48 UTC 2017
I'm going through the process now on Win 10.
A few things to note:
- In the Platform Prerequisites/cygwin it says to make sure mercurial
package is installed. Later, under Common Prerequisites/Mercurial it says
"you can also install Mercurial as a cygwin package". It's not clear then
if it's needed or optional and if it replaces or complements the other hg
- The link to Tortoise should be https://tortoisehg.bitbucket.io (not .org).
- Might be trivial but I would say it's worth noting that all commands
listed there are to be ran in cygwin.
- The hg clone command probably needs to have a note added about the
The problems starts after navigating to the /rt directory and executing
'gradle tasks' or `gradle projects`:
$ gradle tasks
A problem was found with the configuration of task
':buildSrc:generateGrammarSource'. Registering invalid inputs and outputs
via TaskInputs and TaskOutputs methods has been deprecated and is scheduled
to be removed in Gradle 5.0.
- Directory 'D:\rt\buildSrc\src\main\antlr' specified for property '$1'
does not exist.
FAILURE: Build failed with an exception.
Script 'D:\rt\buildSrc\win.gradle' line: 93
* What went wrong:
A problem occurred evaluating script.
> FAIL: WINSDK_DIR not defined
Run with --stacktrace option to get the stack trace. Run with --info or
--debug option to get more log output.
* Get more help at https://help.gradle.org
BUILD FAILED in 2s
I did not install DirectX SDK. Also the output of the above commands in the
instructions page seems out of date compared to the contents of the
directory... or I messed up.
> I did a first pass over the build instructions on the OpenJFX Wiki .
> I think I cleaned up the worst of the inaccuracies, and added some
> information that will make it easier to build.
> I'm not the best person to see whether anything important is missing,
> though. Someone less familiar with the build should look it over and let
> me know what I've missed. I won't be able to get back to this until
> after the holidays and after JDK 10 RDP1 is over, but will take another
> pass at it then and incorporate the feedback.
> -- Kevin
>  https://wiki.openjdk.java.net/display/OpenJFX/Building+OpenJFX
More information about the openjfx-dev