Hi

I tested the standard karaf and karaf-integration distributions with the
karaf camel example:

feature:repo-add
mvn:org.apache.karaf.examples/karaf-camel-example-features/LATEST/xml
feature:install karaf-camel-example-java

Everything seems to work fine with jdk 11.

*When switching to jdk >= 17, I get the following error with
karaf-integration distrib:*



*18:37:37.100 ERROR [FelixDispatchQueue] FrameworkEvent
ERRORjava.lang.IllegalArgumentException: Unsupported class file major
version 61at org.objectweb.asm.ClassReader.<init>(ClassReader.java:195)
~[?:?]*

*Which leads to*


*18:50:36.762 ERROR [FelixStartLevel] bundle
org.apache.karaf.examples.karaf-camel-example-java:4.5.0.SNAPSHOT
(185)[org.apache.karaf.examples.camel.java.CamelComponent(2)] : The
activate method has thrown an exceptionjava.lang.ClassFormatError: Weaving
hook failed.*

*I reproduced with karaf 4.4.8 so I guess I'm doing something wrong.*

+1 (non-binding)


Le sam. 13 déc. 2025 à 17:33, Jamie G. <[email protected]> a écrit :

> +1
>
> Cheers,
> Jamie
>
> On Sat, Dec 13, 2025 at 4:30 AM Steinar Bang <[email protected]> wrote:
> >
> > >>>>> Jean-Baptiste Onofré <[email protected]>:
> >
> > > Hi everyone,
> > > I submit Apache Karaf runtime 4.4.9 release to your vote (RC1). It
> includes
> > > the fix on the shell console.
> >
> > Did my usual smoketest, which is to download the tarball, unpack karaf
> > and start it from the command line and then load my master karaf feature
> > repository and load all of my apps and click around for a bit.
> >  https://github.com/steinarb/myapps
> >
> > No issues when installing and nothing strange observable when clicking
> > around in the loaded apps.
> >
> > So +1 (non-binding)
> >
>

Reply via email to