openjfx8-devel does not build against build targets COMPILE_WEBKIT and COMPILE_MEDIA. More build targets may fail, too.
Omitting these build targets result in runtime errors for some classes, e.g. javafx.scene.web.HTMLEditor for COMPILE_WEBKIT and javafx.scene.media.MediaPlayer for COMPILE_MEDIA.
At least for target COMPILE_WEBKIT I already had a deeper look inside the issue and it seems the maven repository dependencies for FreeBSD are missing. In this case webkit depends on webview, which does not define FreeBSD dependencies. See https://repo1.maven.org/maven2/com/sun/webkit/webview-deps/1.3/ for the build dependencies the gradle build script checks.
A commit references this bug:
Date: Sat Jul 22 22:05:22 UTC 2017
New revision: 446432
java/openjfx8-devel: Update to a more recent snapshot
- Add new default options MEDIA and WEBKIT to enable building of the
media and web modules
- Take back maintainership
Running e.g. AsciidocFX on FreeBSD should be possible now.
Reported by: Dr. Jochen Ra?ler <email@example.com>, mr (via mail)