Compiling OpenJFX + WebKit

Kevin Rushforth kevin.rushforth at
Mon May 11 17:06:08 UTC 2015

Hi Michael,

Thanks for pointing this out. I'm not sure what we did last time to get 
the webview-deps into maven, but Anton can probably check into it. It 
will not build successfully with the older version of webview-deps so I 
don't recommend wasting any time trying.

In addition, we now rely on upgraded compilers with C++11 support, and 
also Qt 5.2, to build WebView. We can update the Wiki. If you can help 
(or at least point out all the places that you found that are now out of 
date), that would be great.

Our supported build platforms, which also need to be specified on the 
Wiki are:

Windows:  Windows 7 or later, VS 2013
Mac: OS X 10.9.5 or later, Xcode 5.1.1
Linux: Ubuntu 14.04 or later (we use Oracle Linux 6.4 with devtoolset-3 
gcc 4.9 compilers)

-- Kevin

Michael Hoffer wrote:
> 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/
> 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

More information about the openjfx-dev mailing list