Compiling OpenJFX
Kevin Rushforth
kevin.rushforth at oracle.com
Tue Sep 18 14:51:27 UTC 2018
Good catch. I fixed it to reference to gradle-4.8/ bin.
-- Kevin
On 9/18/2018 6:51 AM, Robert Lichtenberger wrote:
> I am trying (again) to get my toes wet with building OpenJFX myself.
>
> Here are some things I am wondering about:
>
>
> https://wiki.openjdk.java.net/display/OpenJFX/Building+OpenJFX#BuildingOpenJFX-Gradle
> says:
>
> Gradle is the primary build tool for building OpenJFX. We currently use
> Gradle 4.8 <https://gradle.org/gradle-download/> for jfx-dev
>
> but a few lines down it says:
>
> add gradle-4.3/bin to your PATH
>
> I assume it should say gradle-4.8/bin here too.
>
>
> Other than that, I was able to build OpenJFX on Windows 64-bit without
> web and media. So after that I tried to build with web and media, where
> I got this error:
>
>> Task :web:compileNativeWin FAILED
> Can't locate English.pm in @INC (you may need to install the English
> module) (@INC contains:
> /cygdrive/c/openjfx/rt/modules/javafx.web/src/main/native/Tools/Scripts
> /usr/local/lib/perl5/site_perl/5.26/x86_64-cygwin-threads
> /usr/local/share/perl5/site_perl/5.26
> /usr/lib/perl5/vendor_perl/5.26/x86_64-cygwin-threads
> /usr/share/perl5/vendor_perl/5.26
> /usr/lib/perl5/5.26/x86_64-cygwin-threads /usr/share/perl5/5.26) at
> /cygdrive/c/openjfx/rt/modules/javafx.web/src/main/native/Tools/Scripts/VCSUtils.pm
> line 37.
> BEGIN failed--compilation aborted at
> /cygdrive/c/openjfx/rt/modules/javafx.web/src/main/native/Tools/Scripts/VCSUtils.pm
> line 37.
> Compilation failed in require at
> /cygdrive/c/openjfx/rt/modules/javafx.web/src/main/native/Tools/Scripts/webkitdirs.pm
> line 48.
> BEGIN failed--compilation aborted at
> /cygdrive/c/openjfx/rt/modules/javafx.web/src/main/native/Tools/Scripts/webkitdirs.pm
> line 48.
> Compilation failed in require at
> C:\openjfx\rt\modules\javafx.web/src/main/native/Tools/Scripts/set-webkit-configuration
> line 33.
> BEGIN failed--compilation aborted at
> C:\openjfx\rt\modules\javafx.web/src/main/native/Tools/Scripts/set-webkit-configuration
> line 33.
>
> FAILURE: Build failed with an exception.
>
> I then upgraded perl from the cygwin setup to revision 5 version 26
> subversion 2, then the build was able to continue. Maybe the build
> instructions could mention the exact minimum perl version required?
>
> The build then took about an hour but otherwise completed successfully,
> which is a pretty smooth experience considering the complexity of JavaFX
> and WebKit ;-).
>
>
> What about Windows 32-bit though? There will be no Oracle JDK from
> JDK-11 onwards, however https://adoptopenjdk.net/ have said they are
> willing to produce a JDK for Windows-32 bit. But will OpenJFX be
> buildable for that platform? If yes, how?
>
>
> Robert Lichtenberger
>
>
>
>
More information about the openjfx-dev
mailing list