Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Building JavaFX From Scratch (Linux / Mac)

Building JavaFX From Scratch (Linux / Mac)

Mac / Linux Slides for Javaland 2019 session (Dr. Michael PAUS)

Markus KARG

March 19, 2019

Transcript

6 slides
  1. Building JavaFX From Scratch presented by Michael Paus & Markus

    Karg git clone https://github.com/javafxports/openjdk-jfx.git ./gradlew clean build
  2. $ java -version $ cd […]/JavaLand/2019/JavaFX-CommunityEvent/Build $ git clone https://github.com/javafxports/openjdk-jfx.git

    $ cd openjdk-jfx/ $ bash ./gradlew clean build Preparation: Default java musst be Java 11.0.2, 12 or 13. On a Mac Xcode (accept license!) must be installed. We also need the SDK of the latest JavaFX EA build. Finish: Copy missing libraries from latest EA build to openjdk-jfx/build/sdk/lib/. Use new SDK in some JavaFX-Project.
  3. • Print Java and JavaFX versions.
 log.debug("java.runtime.version: {}",
 System.getProperty("java.runtime.version", "?"));


    log.debug("javafx.version: {}“,
 System.getProperty("javafx.version", "?")); • Setup example program to use new JavaFX-SDK. Demo
  4. Further common build variants bash ./gradlew all test bash ./gradlew

    -PFULL_TEST=true -PUSE_ROBOT=true all test bash ./gradlew -PCOMPILE_WEBKIT=true -PCOMPILE_MEDIA=true build

More Decks by Markus KARG

Other Decks in Programming