[arch-dev-public] Fwd: [arch-general] Java 8
Hi devs, A new major version of Java went out recently [0]: "OpenJDK 8" but we do not have a package for it (for the following reason) and some Archers are asking questions [1] or flagging our openjdk7 package as out of date: All Linux distros - including Arch - build OpenJDK using the IcedTea project [2]. Its goal is to cleanly build OpenJDK from Oracle, bring some more feature and it **was** also to re-implement closed source parts. I expected IcedTea to quickly release a version for OpenJDK8 but it seems this is not their first priority [3] (which I totally understand). Nowadays there is no closed source part anymore in OpenJDK, and the license is clearly "GPL with classpath exception" which is a standard in the Java world. I have been working on a package based on OpenJDK8 built from source but without IcedTea that I think would fit to our repos. I still have some work for it to be released but I would be in favor of pushing this "OpenJDK without IcedTea" to extra until IcedTea v3.0 stable is out and could be used to build/augment our package. Any thought/objection/remark about? [0] http://mail.openjdk.java.net/pipermail/announce/2014-March/000166.html [1] https://mailman.archlinux.org/pipermail/arch-general/2014-March/035700.html [2] http://icedtea.classpath.org [3] http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2014-March/026727.html -- Guillaume ---------- Forwarded message ---------- From: Guillaume ALAUX <guillaume@archlinux.org> Date: 29 March 2014 01:02 Subject: Re: [arch-general] Java 8 To: General Discussion about Arch Linux <arch-general@archlinux.org> On 28 March 2014 18:30, Caleb Cushing <xenoterracide@gmail.com> wrote:
I'm just wondering what the plan is, if any, for getting java 8 packages into arch?
-- Caleb Cushing
Calendar: https://www.google.com/calendar/embed?src=xenoterracide%40gmail.com&ctz=America/Chicago
Hello, There is no official Java 8 package in Arch Linux because the OpenJDK we provide uses the IcedTea [0] but unfortunately IcedTea has no stable version available **yet** for Java 8. More details about IcedTea roadmap here [1]. So the plan (for me at least) is to wait for IcedTea 3.0 that will support Java 8. Shipping a "vanilla" OpenJDK8 into extra (possibly from the binaries provided by Oracle) could be an option in the meantime. [0] http://icedtea.classpath.org/wiki/Main_Page [1] http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2014-March/026727.html -- Guillaume
Am Sun, 30 Mar 2014 11:21:25 +0200 schrieb Guillaume ALAUX <guillaume@archlinux.org>:
Hi devs,
A new major version of Java went out recently [0]: "OpenJDK 8" but we do not have a package for it (for the following reason) and some Archers are asking questions [1] or flagging our openjdk7 package as out of date:
All Linux distros - including Arch - build OpenJDK using the IcedTea project [2]. Its goal is to cleanly build OpenJDK from Oracle, bring some more feature and it **was** also to re-implement closed source parts. I expected IcedTea to quickly release a version for OpenJDK8 but it seems this is not their first priority [3] (which I totally understand). Nowadays there is no closed source part anymore in OpenJDK, and the license is clearly "GPL with classpath exception" which is a standard in the Java world.
I have been working on a package based on OpenJDK8 built from source but without IcedTea that I think would fit to our repos. I still have some work for it to be released but I would be in favor of pushing this "OpenJDK without IcedTea" to extra until IcedTea v3.0 stable is out and could be used to build/augment our package.
Any thought/objection/remark about?
How about using icedtea master bzr shots to build openjdk8 until they publish a release? -Andy
On 30 March 2014 11:46, Andreas Radke <andyrtr@archlinux.org> wrote:
Am Sun, 30 Mar 2014 11:21:25 +0200 schrieb Guillaume ALAUX <guillaume@archlinux.org>:
Hi devs,
A new major version of Java went out recently [0]: "OpenJDK 8" but we do not have a package for it (for the following reason) and some Archers are asking questions [1] or flagging our openjdk7 package as out of date:
All Linux distros - including Arch - build OpenJDK using the IcedTea project [2]. Its goal is to cleanly build OpenJDK from Oracle, bring some more feature and it **was** also to re-implement closed source parts. I expected IcedTea to quickly release a version for OpenJDK8 but it seems this is not their first priority [3] (which I totally understand). Nowadays there is no closed source part anymore in OpenJDK, and the license is clearly "GPL with classpath exception" which is a standard in the Java world.
I have been working on a package based on OpenJDK8 built from source but without IcedTea that I think would fit to our repos. I still have some work for it to be released but I would be in favor of pushing this "OpenJDK without IcedTea" to extra until IcedTea v3.0 stable is out and could be used to build/augment our package.
Any thought/objection/remark about?
How about using icedtea master bzr shots to build openjdk8 until they publish a release?
-Andy
I should have mentionned: I tried that. It turns out the last pre-release of IcedTea points at source tarballs (hotspot, jaxp, corba, ...) that are not available anymore. One solution there could be to get in touch with IcedTea and ask them to put these tarballs back or create a new pre-release. Or to create our own tarballs. This should not be too long to get all this to build.
On 30/03/14 21:36, Guillaume Alaux wrote:
On 30 March 2014 11:46, Andreas Radke <andyrtr@archlinux.org> wrote:
Am Sun, 30 Mar 2014 11:21:25 +0200 schrieb Guillaume ALAUX <guillaume@archlinux.org>:
Hi devs,
A new major version of Java went out recently [0]: "OpenJDK 8" but we do not have a package for it (for the following reason) and some Archers are asking questions [1] or flagging our openjdk7 package as out of date:
All Linux distros - including Arch - build OpenJDK using the IcedTea project [2]. Its goal is to cleanly build OpenJDK from Oracle, bring some more feature and it **was** also to re-implement closed source parts. I expected IcedTea to quickly release a version for OpenJDK8 but it seems this is not their first priority [3] (which I totally understand). Nowadays there is no closed source part anymore in OpenJDK, and the license is clearly "GPL with classpath exception" which is a standard in the Java world.
I have been working on a package based on OpenJDK8 built from source but without IcedTea that I think would fit to our repos. I still have some work for it to be released but I would be in favor of pushing this "OpenJDK without IcedTea" to extra until IcedTea v3.0 stable is out and could be used to build/augment our package.
Any thought/objection/remark about?
How about using icedtea master bzr shots to build openjdk8 until they publish a release?
-Andy
I should have mentionned: I tried that. It turns out the last pre-release of IcedTea points at source tarballs (hotspot, jaxp, corba, ...) that are not available anymore. One solution there could be to get in touch with IcedTea and ask them to put these tarballs back or create a new pre-release. Or to create our own tarballs. This should not be too long to get all this to build.
You can just use the bzr source directly in the PKGBUILD, even providing a revision for consistent builds. Allan
On 30 March 2014 14:23, Allan McRae <allan@archlinux.org> wrote:
On 30/03/14 21:36, Guillaume Alaux wrote:
On 30 March 2014 11:46, Andreas Radke <andyrtr@archlinux.org> wrote:
Am Sun, 30 Mar 2014 11:21:25 +0200 schrieb Guillaume ALAUX <guillaume@archlinux.org>:
Hi devs,
A new major version of Java went out recently [0]: "OpenJDK 8" but we do not have a package for it (for the following reason) and some Archers are asking questions [1] or flagging our openjdk7 package as out of date:
All Linux distros - including Arch - build OpenJDK using the IcedTea project [2]. Its goal is to cleanly build OpenJDK from Oracle, bring some more feature and it **was** also to re-implement closed source parts. I expected IcedTea to quickly release a version for OpenJDK8 but it seems this is not their first priority [3] (which I totally understand). Nowadays there is no closed source part anymore in OpenJDK, and the license is clearly "GPL with classpath exception" which is a standard in the Java world.
I have been working on a package based on OpenJDK8 built from source but without IcedTea that I think would fit to our repos. I still have some work for it to be released but I would be in favor of pushing this "OpenJDK without IcedTea" to extra until IcedTea v3.0 stable is out and could be used to build/augment our package.
Any thought/objection/remark about?
How about using icedtea master bzr shots to build openjdk8 until they publish a release?
-Andy
I should have mentionned: I tried that. It turns out the last pre-release of IcedTea points at source tarballs (hotspot, jaxp, corba, ...) that are not available anymore. One solution there could be to get in touch with IcedTea and ask them to put these tarballs back or create a new pre-release. Or to create our own tarballs. This should not be too long to get all this to build.
You can just use the bzr source directly in the PKGBUILD, even providing a revision for consistent builds.
Allan
Yes. Downside is: Each IcedTea minor version requires a set of source tarballs of several components (jdk, corba, jaxp, ...) each at a precise mercurial changeset. These are not available anymore. I could pull each mercurial repo (5 repos AFAIK), create each tarball and make them available on ftp. So that would make a "pre-release" version of OpenJDK+IcedTea in our repos. Would this be pushed to testing or extra? Are we in favor of this compared to a "General Availability" vanilla OpenJDK?
Am 30.03.2014 11:21, schrieb Guillaume ALAUX:
I have been working on a package based on OpenJDK8 built from source but without IcedTea that I think would fit to our repos. I still have some work for it to be released but I would be in favor of pushing this "OpenJDK without IcedTea" to extra until IcedTea v3.0 stable is out and could be used to build/augment our package.
Any thought/objection/remark about?
So this OpenJDK would then be identical to what Oracle offers as binary download? What do the IceTea patches provide then? If in doubt I would applayy our "don'T patch" policy and ship whatever we get from upstream. Greetings, Pierre -- Pierre Schmitz, https://pierre-schmitz.com
On 30 March 2014 15:14, Pierre Schmitz <pierre@archlinux.de> wrote:
Am 30.03.2014 11:21, schrieb Guillaume ALAUX:
I have been working on a package based on OpenJDK8 built from source but without IcedTea that I think would fit to our repos. I still have some work for it to be released but I would be in favor of pushing this "OpenJDK without IcedTea" to extra until IcedTea v3.0 stable is out and could be used to build/augment our package.
Any thought/objection/remark about?
So this OpenJDK would then be identical to what Oracle offers as binary download? What do the IceTea patches provide then? If in doubt I would applayy our "don'T patch" policy and ship whatever we get from upstream.
Greetings,
Pierre
-- Pierre Schmitz, https://pierre-schmitz.com
The result would resemble the one provided by Oracle as binary download yes.
What do the IceTea patches provide then? They are fixes that the IcedTea team wishes upstream would accept and cleanup of the build system (such as stop using shipped libraries and use system ones). See the list of patches [0].
If in doubt I would applayy our "don'T patch" policy and ship whatever we get from upstream **We** (Arch Linux) do not patch anything here. We are just wondering which way to go between: 1- build from upstream OpenJDK by Oracle (the build process and result are kind of "dirty", it builds against included libraries that are shipped afterwards - libpng, libjpeg, ...) 2- build from upstream OpenJDK by Oracle AND upstream IcedTea on a pre-release version (are we OK with a pre-release on our repos? This could go to "testing"?) 3- ship an already built by Oracle binary version (not in favor of this one - this is what is in AUR as "jdk" and "jre") 4- do not ship Java 8 at all and wait for IcedTea8 stable to come out (when?)
[0] http://icedtea.classpath.org/wiki/IcedTea_Patches_for_OpenJDK_8
On Sun 30, March 16:14:17 Guillaume Alaux wrote:
**We** (Arch Linux) do not patch anything here. We are just wondering which way to go between: 1- build from upstream OpenJDK by Oracle (the build process and result are kind of "dirty", it builds against included libraries that are shipped afterwards - libpng, libjpeg, ...) 2- build from upstream OpenJDK by Oracle AND upstream IcedTea on a pre-release version (are we OK with a pre-release on our repos? This could go to "testing"?) 3- ship an already built by Oracle binary version (not in favor of this one - this is what is in AUR as "jdk" and "jre") 4- do not ship Java 8 at all and wait for IcedTea8 stable to come out (when?)
I'd say to go for 1), I don't use IcedTea at all and I guess very few people do these days. And maybe those could use jre from AUR until icedtea8 is out. -- Andrea Arch Linux Developer
On 30 March 2014 19:38, Andrea Scarpino <andrea@archlinux.org> wrote:
On Sun 30, March 16:14:17 Guillaume Alaux wrote:
**We** (Arch Linux) do not patch anything here. We are just wondering which way to go between: 1- build from upstream OpenJDK by Oracle (the build process and result are kind of "dirty", it builds against included libraries that are shipped afterwards - libpng, libjpeg, ...) 2- build from upstream OpenJDK by Oracle AND upstream IcedTea on a pre-release version (are we OK with a pre-release on our repos? This could go to "testing"?) 3- ship an already built by Oracle binary version (not in favor of this one - this is what is in AUR as "jdk" and "jre") 4- do not ship Java 8 at all and wait for IcedTea8 stable to come out (when?)
I'd say to go for 1), I don't use IcedTea at all and I guess very few people do these days. And maybe those could use jre from AUR until icedtea8 is out.
-- Andrea Arch Linux Developer
You might be talking about "icedtea-web" [0], the browser plugin that enables some Java interpretation inside browsers? This is yet another project provided by the IcedTea team. [0] http://icedtea.classpath.org/wiki/IcedTea-Web
On Sun 30, March 20:03:51 Guillaume Alaux wrote:
You might be talking about "icedtea-web" [0], the browser plugin that enables some Java interpretation inside browsers? This is yet another project provided by the IcedTea team.
Indeed. Thank you for the clarification. Could you provide an openjdk8 package without IcedTea? Isn't necessary to put that in the repos, just to test what would be missing/broken. Cheers -- Andrea Arch Linux Developer
On 30 March 2014 20:39, Andrea Scarpino <andrea@archlinux.org> wrote:
On Sun 30, March 20:03:51 Guillaume Alaux wrote:
You might be talking about "icedtea-web" [0], the browser plugin that enables some Java interpretation inside browsers? This is yet another project provided by the IcedTea team.
Indeed. Thank you for the clarification.
Could you provide an openjdk8 package without IcedTea? Isn't necessary to put that in the repos, just to test what would be missing/broken.
Cheers
-- Andrea Arch Linux Developer
Sure! I will need to finish it first of course and will let you know. Should not be long. I do not expect much breakerage if any. Also I asked on the IcedTea ML to get an idea of when they think this release could happen.
On 30 March 2014 20:46, Guillaume Alaux <guillaume@alaux.net> wrote:
On 30 March 2014 20:39, Andrea Scarpino <andrea@archlinux.org> wrote:
On Sun 30, March 20:03:51 Guillaume Alaux wrote:
You might be talking about "icedtea-web" [0], the browser plugin that enables some Java interpretation inside browsers? This is yet another project provided by the IcedTea team.
Indeed. Thank you for the clarification.
Could you provide an openjdk8 package without IcedTea? Isn't necessary to put that in the repos, just to test what would be missing/broken.
Cheers
-- Andrea Arch Linux Developer
Sure! I will need to finish it first of course and will let you know. Should not be long. I do not expect much breakerage if any.
Also I asked on the IcedTea ML to get an idea of when they think this release could happen.
Ok so answer from IcedTeam team [0] is they should relase "Hopefully in the next month. It depends how involved the security errata is next month." I am thus going to keep on working on a package *without IceTea* in case we want to test/release it and prepare one *with IcedTea* ready when this release is out. [0] http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2014-March/026974.html -- Guillaume
On 31 March 2014 13:38, Guillaume Alaux <guillaume@alaux.net> wrote:
On 30 March 2014 20:46, Guillaume Alaux <guillaume@alaux.net> wrote:
On 30 March 2014 20:39, Andrea Scarpino <andrea@archlinux.org> wrote:
On Sun 30, March 20:03:51 Guillaume Alaux wrote:
You might be talking about "icedtea-web" [0], the browser plugin that enables some Java interpretation inside browsers? This is yet another project provided by the IcedTea team.
Indeed. Thank you for the clarification.
Could you provide an openjdk8 package without IcedTea? Isn't necessary to put that in the repos, just to test what would be missing/broken.
Cheers
-- Andrea Arch Linux Developer
Sure! I will need to finish it first of course and will let you know. Should not be long. I do not expect much breakerage if any.
Also I asked on the IcedTea ML to get an idea of when they think this release could happen.
Ok so answer from IcedTeam team [0] is they should relase "Hopefully in the next month. It depends how involved the security errata is next month."
I am thus going to keep on working on a package *without IceTea* in case we want to test/release it and prepare one *with IcedTea* ready when this release is out.
[0] http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2014-March/026974.html
-- Guillaume
So as previously announced, here is an early version of OpenJDK 8 without IcedTea [0]. Sources of the package can be found here [1]. It is currently split into `jre8-openjdk` and `jdk8-openjdk` that currently declare a conflict with other JRE/JDK packages (I am working on an simple way to enable installation of multiple Java environments). Any tests feedback by those of you interested would be appreciated (I have just noticed I forgot man pages for JRE binaries on this package - will be fixed). Thanks [0] https://dev.archlinux.org/~guillaume/openjdk8-noicedtea/ [1] https://github.com/galaux/aurpkgs/tree/444d7df9ad91842fd595f220becddfbaa8894... -- Guillaume
On 6 April 2014 23:10, Guillaume Alaux <guillaume@alaux.net> wrote:
On 31 March 2014 13:38, Guillaume Alaux <guillaume@alaux.net> wrote:
On 30 March 2014 20:46, Guillaume Alaux <guillaume@alaux.net> wrote:
On 30 March 2014 20:39, Andrea Scarpino <andrea@archlinux.org> wrote:
On Sun 30, March 20:03:51 Guillaume Alaux wrote:
You might be talking about "icedtea-web" [0], the browser plugin that enables some Java interpretation inside browsers? This is yet another project provided by the IcedTea team.
Indeed. Thank you for the clarification.
Could you provide an openjdk8 package without IcedTea? Isn't necessary to put that in the repos, just to test what would be missing/broken.
Cheers
-- Andrea Arch Linux Developer
Sure! I will need to finish it first of course and will let you know. Should not be long. I do not expect much breakerage if any.
Also I asked on the IcedTea ML to get an idea of when they think this release could happen.
Ok so answer from IcedTeam team [0] is they should relase "Hopefully in the next month. It depends how involved the security errata is next month."
I am thus going to keep on working on a package *without IceTea* in case we want to test/release it and prepare one *with IcedTea* ready when this release is out.
[0] http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2014-March/026974.html
-- Guillaume
So as previously announced, here is an early version of OpenJDK 8 without IcedTea [0]. Sources of the package can be found here [1]. It is currently split into `jre8-openjdk` and `jdk8-openjdk` that currently declare a conflict with other JRE/JDK packages (I am working on an simple way to enable installation of multiple Java environments). Any tests feedback by those of you interested would be appreciated (I have just noticed I forgot man pages for JRE binaries on this package - will be fixed).
Thanks
[0] https://dev.archlinux.org/~guillaume/openjdk8-noicedtea/ [1] https://github.com/galaux/aurpkgs/tree/444d7df9ad91842fd595f220becddfbaa8894...
-- Guillaume
Split versions of JRE/JRE-headless/JDK for both architectures are available here [0] for testing. Sources available here [1]. [0] https://dev.archlinux.org/~guillaume/openjdk8-noicedtea/ [1] https://github.com/galaux/aurpkgs/tree/master/java8-openjdk -- Guillaume
On 22 April 2014 20:58, Guillaume Alaux <guillaume@alaux.net> wrote:
On 6 April 2014 23:10, Guillaume Alaux <guillaume@alaux.net> wrote:
On 31 March 2014 13:38, Guillaume Alaux <guillaume@alaux.net> wrote:
On 30 March 2014 20:46, Guillaume Alaux <guillaume@alaux.net> wrote:
On 30 March 2014 20:39, Andrea Scarpino <andrea@archlinux.org> wrote:
On Sun 30, March 20:03:51 Guillaume Alaux wrote:
You might be talking about "icedtea-web" [0], the browser plugin that enables some Java interpretation inside browsers? This is yet another project provided by the IcedTea team.
Indeed. Thank you for the clarification.
Could you provide an openjdk8 package without IcedTea? Isn't necessary to put that in the repos, just to test what would be missing/broken.
Cheers
-- Andrea Arch Linux Developer
Sure! I will need to finish it first of course and will let you know. Should not be long. I do not expect much breakerage if any.
Also I asked on the IcedTea ML to get an idea of when they think this release could happen.
Ok so answer from IcedTeam team [0] is they should relase "Hopefully in the next month. It depends how involved the security errata is next month."
I am thus going to keep on working on a package *without IceTea* in case we want to test/release it and prepare one *with IcedTea* ready when this release is out.
[0] http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2014-March/026974.html
-- Guillaume
So as previously announced, here is an early version of OpenJDK 8 without IcedTea [0]. Sources of the package can be found here [1]. It is currently split into `jre8-openjdk` and `jdk8-openjdk` that currently declare a conflict with other JRE/JDK packages (I am working on an simple way to enable installation of multiple Java environments). Any tests feedback by those of you interested would be appreciated (I have just noticed I forgot man pages for JRE binaries on this package - will be fixed).
Thanks
[0] https://dev.archlinux.org/~guillaume/openjdk8-noicedtea/ [1] https://github.com/galaux/aurpkgs/tree/444d7df9ad91842fd595f220becddfbaa8894...
-- Guillaume
Split versions of JRE/JRE-headless/JDK for both architectures are available here [0] for testing. Sources available here [1].
[0] https://dev.archlinux.org/~guillaume/openjdk8-noicedtea/ [1] https://github.com/galaux/aurpkgs/tree/master/java8-openjdk
-- Guillaume
Hello, For people interested, here are the last versions of the "java providing" package I have been working on recently: http://pkgbuild.com/~guillaume/repos/jdk/ Packages in this repo are: - OpenJDK Java 8 packages (without IcedTea) - OpenJDK Java 7 packages (with IcedTea) - Oracle Java 8 packages (from binary tarballs - written as a proof of concept for other Java vendors) - "meta" package to enable installation of all the previous java packages None of these packages conflict with any other. This is intended in order to support multiple Java environment version as well as vendors. They all rely on a link /usr/lib/jvm/java-default-runtime that can point at any of these java home. One can either (un)set this link manually or use a rather trivial script 'archlinux-java' provided by 'java-runtime-headless'. As a reminder, one can use the provided – totally unsupported – repo by adding the following on pacman.conf: [galaux_jdk] SigLevel = Optional TrustAll Server = http://pkgbuild.com/~guillaume/repos/jdk/$arch -- Guillaume
participants (6)
-
Allan McRae
-
Andrea Scarpino
-
Andreas Radke
-
Guillaume Alaux
-
Guillaume ALAUX
-
Pierre Schmitz