Building OpenJDK 9 and OpenJFX on Debian
Chris Newland
cnewland at chrisnewland.com
Mon Sep 8 07:39:20 UTC 2014
Hi Ludovic,
Thanks for trying it out on Ubuntu.
I've answered your comments inline.
Kind regards,
Chris
On Sun, September 7, 2014 15:44, Ludovic HOCHET wrote:
> Hello Chris,
> I've tried your script on Ubuntu 14.04.
> It runs fine, though I have a few comments:
> 1. if either of the builds fails it will continue
Yes, it could be more intelligent and detect build failures etc. but then
the bash script gets really complicated and ugly. I think I prefer to keep
it simple and people are free to copy and improve to suit their own needs.
> 2. I think lines 54-59 are redundant with what is done in get_source
Yes, the updates are not required if you've just hg cloned the source. My
intention was that people could comment out the initial cloning steps and
still use the script to get updates from mercurial and build again.
> 3. Isn't line 102 overwritten by line 117?
Line 102 copies jfr.jar (Java Flight Recorder) which for some reason is
needed by OpenJFX for logging. Line 117 copies jfxrt.jar (JavaFX runtime).
I should ask a question on the OpenJFX list about why it has the
dependency on commercial features from JFR.
>
>
> Best Regards,
> Ludovic
>
>
> On Tue, Sep 2, 2014 at 8:14 PM, Chris Newland <cnewland at chrisnewland.com>
> wrote:
>
>> Hi all,
>>
>>
>> I couldn't find good instructions for building OpenJFX with OpenJDK9 so
>> I've created a bash script which fetches them both from hg and builds
>> a working Java 9 SDK with JavaFX support:
>> https://gist.github.com/chriswhocodes/c5ca0766ded3046691f0
>>
>>
>> My JITWatch tool (a JavaFX application) works fine with this build.
>>
>>
>> Tested on Debian x86_64 Squeeze and Wheezy (will test Jessie shortly).
>>
>>
>> Am going to start hacking HotSpot now with some extra instrumentation
>> and will put patches into a GitHub project for anyone who's interested.
>>
>> Cheers,
>>
>>
>> Chris
>>
>>
>
>
>
> --
> Ludovic
> -----------------------------------------
>
>
> "Les formes qui differencient les etres importent peu
> si leur pensees s'unissent pour batir un univers..." Yoko Tsuno (in 'Les
> titans' by Roger Leloup) [The shapes that differenciate beings are not
> important if their thoughts unite to build a universe]
>
More information about the adoption-discuss
mailing list