Compiling OpenJFX + WebKit

Michael Hoffer info at michaelhoffer.de
Mon May 11 16:12:31 UTC 2015


Hi,

I just tried to compile OpenJFX from the 8u-dev branch on OS X and Ubuntu.
Unfortunately, I'm experiencing several problems. Without WebKit everything
works fine. But with WebKit there are several problems:

1. the build script has a webview-deps:1.3 dependency which has not been
published on maven central.

If I revert the version number of the dependency to the 1.2 version (newest
version that is available) I run into the next problem:

2. WebKit does not compile on Ubuntu because of missing libraries (can be
fixed via sudo apt-get install libqt4-dev)

If I add the missing dependencies I can compile WebKit, but

3. the generated Java code contains errors (also happens on OS X), starting
with

openjfx/rt-8u-dev/modules/web/build/linux/Release/WebCore/generated/java/com/sun/webkit/dom/CounterImpl.java:5:
error: cannot find symbol
import com.sun.webkit.Disposer;
                     ^
  symbol:   class Disposer
  location: package com.sun.webkit

Are these known problems? I'd really love to compile my own OpenJFX version
as I did with the first Java 8 preview version where the compilation was
relatively easy to accomplish.

4. In my opinion the wiki should be updated with more recent information on
which os/library/compiler version is needed. On OS X for example, I needed
to use qtmake from qt5 since the qt4 version was missing the correct spec
file for clang. And it was generally unclear whether building on OS X 10.9
or 10.10 is supported.

Any help is appreciated! And I'm also willing to contribute documentation/
fixes if necessary.

Regards,
Michael Hoffer

-- 
Dipl.-Math. Michael Hoffer

Twitter: @mihosoft
Webpage: www.mihosoft.eu

Goethe-Zentrum für Wissenschaftliches Rechnen (G-CSC)
Goethe-Universität
Kettenhofweg 139
60325 Frankfurt am Main
phone: +49 69 798 25254
info at michaelhoffer.de


More information about the openjfx-dev mailing list