Resurrecting an old thread to get the latest status. There have been some recent questions regarding using JDK 11 and it appears some have been successful and some testing has been done, and a number of tickets regarding support resolved in 4.2.1 or 4.2.2, yet the information on the download page (https://karaf.apache.org/download.html) still says just Java 8/9/10 for 4.2.x. It this page inaccurate? Or is there still more work to be done to support JDK 11? If more work to be done, what is the target release?
On Fri, Jun 8, 2018 at 4:44 AM Francois Papon <[email protected]> wrote: > Hi Serge, > > This is a great news, thanks for using Apache Karaf :) > > > François [email protected] > Open3m - https://www.open3m.io > > Le 08/06/2018 à 13:07, Serge Huber a écrit : > > Thanks a lot for all this information. I had some questions about JDK 11 > support and you've given lots of details that I will be able to relay > internally. > > And of course thanks a lot for all the hard work, I wish I could > contribute more :) > > cheers, > Serge... > > ps : for those of us who don't know we now use Apache Karaf in all our > server products and love it ! > > Serge Huber > CTO & Co-Founder > T +41 22 361 3424 > 9 route des Jeunes | 1227 Acacias | Switzerland > jahia.com <http://www.jahia.com/> > SKYPE | LINKEDIN <https://www.linkedin.com/in/sergehuber> | TWITTER > <https://twitter.com/sergehuber> | VCARD > <http://www.jahia.com/vcard/HuberSerge.vcf> > > > > JOIN OUR COMMUNITY <http://www.jahia.com/> to evaluate, get trained and > to discover why Jahia is a leading User Experience Platform (UXP) for > Digital Transformation. > > On Fri, Jun 8, 2018 at 12:48 AM, Freeman Fang <[email protected]> > wrote: > >> Please see the patch and my comment on KARAF-5764, I think we need more >> change to support java11 in KARAF. >> >> As XBean also embed asm source, so we need a new XBean release which >> build against ASM6.2, as well as a new easymock release. >> >> Besides, Since JDK11, those modules get removed from JDK >> >> * java.corba — CORBA >> * java.transaction — The subset of the Java Transaction API defined by Java >> SE to support CORBA Object Transaction Services >> * java.activation — JavaBeans Activation Framework >> * java.xml.bind — Java Architecture for XML Binding (JAXB) >> * java.xml.ws — Java API for XML Web Services (JAX-WS), Web Services >> Metadata for the Java Platform, and SOAP with Attachments for Java (SAAJ) >> * java.xml.ws.annotation — The subset of the JSR-250 Common Annotations >> defined by Java SE to support web services >> >> >> So I think we don't need to use --patch-module for those APIs which >> already get removed. What we do is just use normal bundle for those APIs, >> or if we really need those API in boot stage we can put those in >> $KARAF_HOME/lib/boot folder, so far we need jaxb and activation in >> lib/boot/folder as features.core need those. >> >> [1]https://issues.apache.org/jira/browse/KARAF-5764 >> >> Cheers >> ------------- >> Freeman(Yue) Fang >> >> Red Hat, Inc. >> FuseSource is now part of Red Hat >> >> >> >> On Jun 8, 2018, at 1:37 AM, Jean-Baptiste Onofré <[email protected]> wrote: >> >> Hi Serge, >> >> I just submitted Aries Proxy Impl 1.1.2 with ASM 6.2 this morning, >> bringing support of Java 9, 10, 11. >> >> As soon as the vote passed, I will update in Karaf. The purpose is to >> include this for Karaf 4.2.1 (planned next week), in order to give us >> time to test. >> Before 4.2.1, I have also to work on Pax Web (7.1.1) supporting Jetty >> 9.4.10 supporting new Java version as well. >> >> So, to summarize, 4.2.1 should support Java 10 & 11, thanks to the ASM >> 6.2 update + Aries Proxy + Pax Web/Jetty update (all Jira are created >> and in my bucket). >> >> Regards >> JB >> >> On 07/06/2018 17:35, Serge Huber wrote: >> >> Hello, >> >> With the upcoming release of JDK 11 (planned for September), I was >> wondering what the plans for supporting it looked like ? Are we >> expecting any kind of blocking problems ? Should be simpler than JDK 9 I >> think. >> >> I didn't follow the JDK 10 support, did that involve any problems ? >> >> cheers, >> Serge... >> >> >> -- >> Jean-Baptiste Onofré >> [email protected] >> http://blog.nanthrax.net >> Talend - http://www.talend.com >> >> >> > >
