We're very pleased that you want to get in touch with us. Please fill in the form below:

or   Close this form  
Some content

Peter Pilgrim :: Java Champion :: Digital Developer Architect

I design Java EE and Scala software solutions for the blue-chip clients and private sector

Hey all! Thanks for visiting. I provide fringe benefits to interested readers: checkout consultancy, training or mentorship Please make enquiries by email or call +44 (0)7397 067 658.

Due to the Off-Payroll Working plan for the UK government, I am enforcing stricter measures on contracts. All potential public sector GOV.UK contracts engagements must be approved by QDOS and/or SJD Accounting. Please enquire for further information.

Building OpenJFX 2.2 Again

31 October 2012 2 comments

2 minutes


Here is how I build the OpenJFX 2.2 on both Mac OS X, because the semi-official Getting Started instructions on the OpenJFX site are a bit of out-of-date.

Find a folder for your project, create a folder:-

mkdir -p ~/open-jfx-2.2

cd ~/open-jfx-2.2

Using Mercurial, clone the project folder from the Master change-set:

hg clone http://hg.openjdk.java.net/openjfx/2.2/master

cd master

Copy the existing JavaFX runtime JAR into a special folder. I am using JavaFX bundled in Oracle Java SE 7 update 9. We create the folder structure and copy the JAR into it.

mkdir -p artifacts/sdk/rt/lib

cp ${JAVA_HOME}/jre/lib/jfxrt.jar artifacts/sdk/rt/lib

ls -l artifacts/sdk/rt/lib

Now clone the RT sub tree using the Mercurial

hg clone http://hg.openjdk.java.net/openjfx/2.2/master/rt

cd rt

Edit the properties file common.properties, and modify the debuggable property near the top of the file (e.g. linenumber 15 or so)

# COMMENTED OUT: javac.debuglevel=${jfx.javac.debuglevel}

Now we can clean the distribution:-

ant clean

Afterwards, we should be able to compile and build JAR for the existing distribution.

ant dist

Look inside the dist folder for the results

peterpilgrim@Peters-MBPRD.local [686] > ls -l dist
total 6888
-rw-r--r--  1 peterpilgrim  staff  3523332 30 Oct 11:54 openjfxrt.jar
peterpilgrim@Peters-MBPRD.local [687] > 



  1. […] Peter Pilgrim has posted about building OpenJFX 2.2. […]

    Pingback by Java desktop links of the week, November 5 | Jonathan Giles — 04 November 2012 @ 10:25 pm

  2. […] Peter Pilgrim has posted about building OpenJFX 2.2. […]

    Pingback by JavaFX links of the week, November 5 // JavaFX News, Demos and Insight // FX Experience — 04 November 2012 @ 10:27 pm

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

Contents of this blog entry are under copyright © 2017 by Peter Pilgrim and associates. For enquiries after republishing, please contact us for permission. All requests for syndicated content will be ignored /dev/null, consider yourself warned!

I help to design, create and build JVM components and services that are behind popular e-commerce websites.

My Blurb

Please get in touch , directly, to establish hire availability, contract & consulting opportunities.

Speaking at Your Conference

Contact by invitation

What Peter Does