• Home
    • View
    • Login
    This page
    • Normal
    • Export PDF
    • Page Information

    Loading...
  1. Dashboard
  2. Undefined Space
  3. OpenJFX
  4. Getting Started

Page History

Versions Compared

Old Version 1

changes.mady.by.user J. Duke

Saved on Oct 23, 2012

compared with

New Version 2

changes.mady.by.user J. Duke

Saved on Oct 23, 2012

  • Next Change: Difference between versions 2 and 3
  • View Page History

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Building OpenJFX requires that you have the binary porition of OpenJFX. You will need to be a member of OTN (Oracle Technical Network) in order to download the binaryAs of JDK7, JavaFX is co-bundled with Java so you will need the version of Java that matches the mercurial repositories you cloned. The rest of this document assumes that you are developing against JavaFX 8 (co-bundled with JDK8) and uses paths and naming accordingly.

Working with OpenJFX and JavaFX

...

Here are the tools required to build OpenJFX:

  • JDK1.6 (or greater)8
  • Ant 1.8.2
  • Mercurial 1.8.2
  • Cygwin (for Linux commands on Windows)

Here is the recipe for building OpenJFX (use a Cygwin shell on Windows):

...

  • mkdir -p ~/open-jfx
  • cd ~/open-jfx
  • hg clone http://hg.openjdk.java.net/openjfx/2.18/masterImage Removed
  • cd master
  • mkdir -p artifacts/sdk/rt/lib
  • cp -r ~/closed-jfx/javafx-sdk2.1.0-beta/rt artifacts/sdk<PATH TO JDK>/lib/jfxrt.jar artifacts/sdk/rt/lib
  • hg clone http://hg.openjdk.java.net/openjfx/2.1/master/rtImage Removed
  • cd rt
  • Edit build-defs.xml (comment out '<propertycopy name="javac.debuglevel" from="${ant.project.name}.javac.debuglevel" silent="true" override="true"/>' )cd javafx-ui-controlsif not already commented)
  • ant

Here is the command line needed to run OpenJFX (using the controls jar from OpenJFX):

  • java -cp ".:/Users/someone/open-jfx/master/rt/javafx-ui-controls/dist/javafx-ui-controls.jar:/Users/someone/open-jfx/master/artifacts/sdk<PATH TO JDK>/rt/lib/jfxrt.jar" test.HelloButton

The above command assumes that you have a class test.HelloButton and that your OpenJFX directory is /Users/someone/open-jfx.

Overview
Content Tools
ThemeBuilder

Terms of Use
• License: GPLv2
• Privacy • Trademarks • Contact Us

Powered by a free Atlassian Confluence Open Source Project License granted to https://www.atlassian.com/software/views/opensource-community-additional-license-offer. Evaluate Confluence today.

  • Kolekti ThemeBuilder Powered by Atlassian Confluence 8.5.23
  • Kolekti ThemeBuilder printed.by.atlassian.confluence
  • Report a bug
  • Atlassian News
Atlassian
Kolekti ThemeBuilder EngineAtlassian Confluence
{"serverDuration": 154, "requestCorrelationId": "1ed7805fb280110d"}