Gentoo Archives: gentoo-dev

From: "William L. Thomson Jr." <wlt-ml@××××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Java 9 on Gentoo
Date: Sat, 18 Nov 2017 14:51:09
Message-Id: assp.049579b996.20171118095051.03045763@wlt.obsidian-studios.com
In Reply to: Re: [gentoo-dev] Java 9 on Gentoo by Roy Bamford
1 On Sat, 18 Nov 2017 14:11:11 +0000
2 Roy Bamford <neddyseagoon@g.o> wrote:
3 >
4 > You can start with gcc-5.4 with the gcj use flag.
5 > That will bootstrap icedtea:7
6 > icedtea:7 will bootstrap icedtea:8
7 > Tested on arm64.
8
9 Your likely one of the few to do that :)
10
11 That is good one does not have to go back to 1.5, and 1.6.. Not bad to
12 get to 1.8, but once 9 is out. Not much fun going from 7 to 8 to 9.
13 No real reason to do that unless you want to. Or don't trust
14 Chewi/James icedtea-bin. He does like to spy :P j/k
15
16 The main reason for icedtea/openjdk vs oracle is to build openjdk or
17 java with open source licenses. I think if you build against oracle
18 your accepting oracles license for their JDK. It does not really taint
19 the result. But does mean java was built with non FOSS software. Oracle
20 JDK is downloaded under a different license agreement.
21
22 Its mostly a legal thing, and there is some slightly better system
23 integration. Definitely if building from source. Still some using
24 icedtea-bin, but thats a binary. So not sure as deps it was built
25 against change, etc. From source is likely different there.
26 Though I haven't really ever had issues with Oracle and system
27 integration. Occasionally people will have fonts issues. Fonts tends to
28 be one of the most noticeable visual difference between Oracle and
29 Icedtea/OpenJDK
30
31 I do not mess with openjdk/icedtea much if at all. I mostly run with
32 Oracle for various reasons. Licensing is not a concern. I am used to
33 Java long before it was FOSS.
34
35 > With icedtea:7 going and gcc-5.4 not having a very long future,
36 > building icedtea for a new arch will be painful.
37
38 The main problem with arch support is HotSpot. There is not many
39 replacements for other archs.
40 https://en.wikipedia.org/wiki/IcedTea#Platform_support
41
42 Not sure of OpenJ9 will change that. I think it will at min support
43 Power archs, ppc64 etc. Not sure about ppc 32bit.
44 https://github.com/eclipse/openj9
45 https://github.com/ibmruntimes/openj9-openjdk-jdk9
46 https://bugs.gentoo.org/631156
47
48 Otherwise yes, unless icedtea-bin exist for that arch. Boostrapping
49 in a post gcc-jdk/java 7 world will be difficult, If not impossible for
50 some archs.
51
52 --
53 William L. Thomson Jr.