Are there any OSGi versions that are supported by Java 17?
Asked Answered
A

0

6

I have run an OSGi bundle with Java17 and got below at startup. Is OSGi not supported by Java 17 yet?

org.osgi.util.tracker.ServiceTracker.getServices()" is null

Adipocere answered 7/10, 2021 at 5:43 Comment(3)
Are you using Eclipse Equinox? Eclipses site is confusing as usual so can't find anything about it but release-notes for the latest Apache Karaf (4.3.3) seems to indicate that there's at least some level of support for Java 17 on Apache Felix.Resemblance
Yes. I am using Eclipse Equinox. I will check on the release notes.Adipocere
I am getting the same error in one of my projects. What is the solution you took? @UdeshAthukoralaChamber

© 2022 - 2024 — McMap. All rights reserved.