What particular APIs are you trying to use that we’re removed?  The JAX-B,
JAF, and JAX-WS stuff are the big ones we have had to manually include
after upgrading to java 11.

On Mon, Feb 18, 2019 at 10:49 AM Rob Walker <r...@ascert.com> wrote:

> The issue we found was not so much Felix - that does indeed run fine on
> Java 11.
>
> But depending on what packages you really on, some of those that were
> system packages in Java 8 but have since move either to separate J9+
> modules, or in some cases dropped completely from J9+ and now need
> additional bundles. You can't rely on the system classloader wiring for
> those in Felix, you have to make sure the requisite bundles and modules are
> present.
>
> -Rob
>
> -----Original Message-----
> From: Neil Bartlett <njbartl...@gmail.com>
> Sent: 18 February 2019 17:25
> To: users <users@felix.apache.org>
> Subject: Re: Felix on jdk11
>
> Wait a minute... if Chuck is having problems running Felix on Java 11
> because of dependencies on the platform, then how is adding MORE bundles by
> using Karaf going to help?
>
> Since Felix has been tested on Java 11 and is expected to work, it would
> be really good to try to help out with the original problem, as Karl is
> trying to do.
>
> Neil
>
> On Mon, Feb 18, 2019 at 3:16 PM James Carman <ja...@carmanconsulting.com>
> wrote:
>
> > People run karaf on Raspberry Pi devices.  It can be quite small.
> > What are your requirements on resources?
> >
> > On Mon, Feb 18, 2019 at 10:10 AM Chuck Davis <cjgun...@gmail.com> wrote:
> >
> > > Hi James:
> > >
> > > My understanding is that Karaf is quite heavy.  I want to keep my
> > > client
> > as
> > > light as possible.  This is for a Java client application that I
> > > want to update automatically on a periodic basis.
> > >
> > > On Mon, Feb 18, 2019 at 5:41 AM James Carman
> > > <ja...@carmanconsulting.com
> > >
> > > wrote:
> > >
> > > > Unless you really need to be “down and dirty” with OSGi, lots of
> > > > folks
> > > opt
> > > > for using Apache Karaf, which is based on Felix (by default).  It
> > > > takes care of a lot of the heavy lifting for you automatically.
> > > > If you
> > really
> > > > want to learn the insides and outs, though, stick with Felix, but
> > you’ll
> > > > want something like karaf when you deploy for real, most likely.
> > > >
> > > > On Mon, Feb 18, 2019 at 7:43 AM Chuck Davis <cjgun...@gmail.com>
> > wrote:
> > > >
> > > > > Thanks for responding, Rob.  I'm very new to OSGi and that
> > > > > sounds
> > like
> > > a
> > > > > LOT of tinkering to me (overwhelming in fact at this point !!).
> > > > >
> > > > > But the more I study it the more it makes sense to me and the
> > > exceptions
> > > > > I'm seeing.
> > > > >
> > > > > Thanks for your response.
> > > > >
> > > > > On Sun, Feb 17, 2019 at 8:44 PM Rob Walker <r...@ascert.com>
> wrote:
> > > > >
> > > > > > We have worked our Felix based app so that it runs on JDK11 -
> > > > > > took
> > a
> > > > bit
> > > > > > of tinkering, but there wasn't anything in core code we had to
> > > change.
> > > > > >
> > > > > >
> > > > > >
> > > > > > We did need to load the following bundles separately to
> > > > > > replace
> > > missing
> > > > > > classes:
> > > > > >
> > > > > >
> > > > > >
> > > > > > jre-1.8_extra_bundles=
> > > > > >
> > > > > > jre-9_extra_bundles=${j9_replacement_packages}
> > > > > >
> > > > > > jre-10_extra_bundles=${j9_replacement_packages}
> > > > > >
> > > > > > jre-11_extra_bundles=${j9_replacement_packages}
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Reply via email to