mihosoft.eu
Programming, Art, Linux, Free Software…
mihosoft.eu
Navigation
  • Home
  • VRL-Studio
  • SonoAir
  • Monochrome Wars
  • About
  • Impressum
  • Datenschutz
You are here: Home › Java › Gradle project for automatic OpenJDK/OpenJFX builds

Gradle project for automatic OpenJDK/OpenJFX builds

November 19, 2013 | Filed under: Java, JavaFX and tagged with: Devoxx, Devoxx 2013, gradle, Java 8, JavaFX, JavaFX 8, JDK 8, OpenJDK, OpenJFX

I’m currently working on a Gradle project that downloads OpenJDK & OpenJFX sources and builds both afterwards with little to no configuration necessary. Currently it works for OS X. Other operating systems coming soon!

Feel free to contribute!

Requirements

  • Mac OS = 10.8.x (unknown whether it will work for 10.9)
  • XCode == 4.6.x
  • X11/XQuartz (provides freetype for JDK)
  • Mercurial (version?)
  • JDK >= 1.7.0_25 and < 1.8.x

Download The Project

The project can be found on GitHub: https://github.com/miho/OpenJDK-Builder

I Cant Wait!

If you want to try right away here’s what you have to do:

#> cd PathToOpenJDK-Builder/jdk8
#> ./gradlew assemble

If something goes wrong please keep on reading.

Usage

First we explore the file structure:

#> cd PathToOpenJDK-Builder/jdk8
#> ls
binary_stub     gradle    gradlew.bat    jfx8-src
build.gradle    gradlew   jdk8-src

The build.gradle file contains several important variables:

  • BOOTSTRAP_JDK: location of the boostrap JDK. Defaults is JDK 7.0_45
  • DEVKIT: Xcode location (must be Xcode 4.6.x).
  • MAC_OSX_SDK: OS X SDK for building OpenJFX. Default is 10.7
  • BRANCH: OpenJFX mercurial branch. Default is graphics

Before proceeding please copy a jfxrt.jar from JavaFX 8 preview release to the binary_stub folder.

Now it is time for building OpenJDK and OpenJFX:

#> ./gradlew assemble

That’s it!

Other operating systems coming soon!

Stay tuned and follow me on Twitter

To be continued…

Did you like this article? Share it with your friends!

Tweet

Written by admin

Visit my Website Follow me on Twitter

One Response to "Gradle project for automatic OpenJDK/OpenJFX builds"

  1. Java desktop links of the week, November 25 – Jonathan Giles says:
    March 6, 2018 at 22:49

    […] has posted a Gradle project for automatic OpenJDK/OpenJFX builds. Very nice! […]

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Pages

  • About
  • Datenschutz
  • Impressum
  • Seminar 2019

Categories

  • 3D Printing
  • Any-Key
  • Art
  • C/C++
  • Devoxx
  • Digital Painting
  • Featured
  • IoT
  • Java
  • JavaFX
  • Javakurs 2015
  • JavaOne
  • Linux
  • Linux on Apple Hardware
  • Linux: Daily Usage Tips
  • Mobile Apps
  • Mobile Devices
  • Programming Languages
  • Repair Things
  • Science
  • Sonos
  • Teaching
  • Uncategorized
  • Virtual Reality
  • VRL

Tags

3D 3D Printing 3d visualization AirSonos Apple Music Devoxx Devoxx 2013 gradle graph iOS Java Java 8 JavaFX JavaFX 8 JavaOne JavaOne 2013 jdk9 JFXtras JInternalFrame Linux MacBook MDI mobile apps OpenDive OpenJDK OpenJFX Open Source Performance scientific visualization SonoAir Sonos Ultimaker Virtual Reality Virtual World visual programming VPlot VRL VRL-Studio VWorkflows window control Window Node Window System workflow workflows X11

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

JavaOne Rockstar

JavaOne Rockstar
Follow @mihosoft

Recent Posts

  • Native JDK9 Application Bundles
  • Running C code from Java via VTCC
  • SonoAir finally supports macOS High Sierra!
  • JavaOne 2017 Community Keynote Artwork
  • The JGrounds App: better teaching apps for Java 9 [BOF5047]

Recent Comments

  • ¿Ventanas completamente personalizadas de JavaFX? - Fallosweb.com on VFXWindows
  • JavaFX entirely customized windows? – w3toppers.com on VFXWindows
  • Volel Mondesir on Adding Custom Icons to JFXtras Window Control (VFXWindows)
  • Volel Mondesir on Adding Custom Icons to JFXtras Window Control (VFXWindows)
  • Switching between different JDK versions in Windows - ErrorsFixing on JSelect: switch between different JDK versions

Archives

  • February 2018
  • October 2017
  • September 2017
  • February 2017
  • June 2016
  • May 2016
  • November 2015
  • September 2015
  • July 2015
  • March 2015
  • September 2014
  • March 2014
  • February 2014
  • December 2013
  • November 2013
  • October 2013
  • September 2013
  • August 2013
  • July 2013
  • June 2013
  • May 2013
  • April 2013
  • March 2013
  • February 2013
  • October 2012
  • September 2012
  • August 2012
  • July 2012
  • November 2010
  • February 2010
  • November 2009
  • October 2009
  • February 2009
  • August 2008
  • May 2008
  • April 2008
  • March 2008
Privacy & Cookies: this site uses cookies. By continuing to use this website, you agree to their use.
To find out more, see here: Impressum & Datenschutz

© 2025 mihosoft.eu