Awesome ! Thanks for the update Bob.
4.2.1 release prepare is done, I'm on release perform now. Regards JB On 17/08/2018 23:17, Bob Paulin wrote: > Thanks JB. I see that. I got everything running on the snapshot without any > modifications to the karaf script. Was able to start it on the Java 11 EA as > well. Looks promising so far! > - Bob > > On 2018/08/17 04:08:02, Jean-Baptiste Onofré <[email protected]> wrote: >> Hi Bob, >> >> Better Java 9/10/11 support is planned for Karaf 4.2.1: we did a lot of >> changes and dependency updates to have a better support. >> >> Regards >> JB >> >> On 16/08/2018 22:48, Bob Paulin wrote: >>> Hi, >>> >>> I am running Apache Karaf 4.2.0 + Apache Camel 2.22.0 on Java 10. At >>> startup I was getting the following error: >>> >>> Caused by: java.lang.IllegalAccessError: class >>> javax.xml.stream.$FactoryFinder (in module java.xml) cannot access class >>> java.util.logging.Logger (in module java.logging) because module >>> java.xml does not read module java.logging >>> >>> I was able to fix this by adding: >>> >>> --add-reads java.xml=java.logging,ALL-UNNAMED ^ >>> >>> to the karaf script. >>> >>> >>> I was also able to get it to work by setting the env var >>> >>> "KARAF_OPTS=--add-reads java.xml=java.logging,ALL-UNNAMED ^" >>> >>> Adding the option to the KARAF_OPTS seems easier enough to support but >>> I'm wondering if something as common as logging would be better off >>> added to the karaf script. Or perhaps a separate ENV VAR for Java >>> Module System options would be better. Thoughts? >>> >>> - Bob >>> >>> >> >> -- >> Jean-Baptiste Onofré >> [email protected] >> http://blog.nanthrax.net >> Talend - http://www.talend.com >> -- Jean-Baptiste Onofré [email protected] http://blog.nanthrax.net Talend - http://www.talend.com
