Yes, I apologize. I’m running openjdk 14.whatever and the OpenJ9 VM.  Perhaps 
it’s J9.  When I saw this issue previously, with 4.2.10 I believe, I think I 
was using openjdk 11 and J9.

Scott

From: Jean-Baptiste Onofre <j...@nanthrax.net>
Sent: Monday, November 16, 2020 1:13 AM
To: user@karaf.apache.org
Subject: Re: Karaf 4.3.0: Bundles don't resolve because of unsatisfied java.* 
packages

CAUTION: This email originated from outside of the organization. Do not click 
links or open attachments unless you recognize the sender and know the content 
is safe.
________________________________
I just checked on java.specification.version is 14, so it’s fine.

I also checked with JDK 14.0.1 on Mac and it works fine (at least for Karaf 
examples).

I’m checking on Windows VM.

Regards
JB


Le 2 nov. 2020 à 01:48, Leschke, Scott 
<slesc...@medline.com<mailto:slesc...@medline.com>> a écrit :

Karaf 4.3.0 on Windows, JDK 14.   All java.* packages, including java.lang, 
show as Unsatisfied Requriements in bundle:diag output.  Setting
karaf.framework=equinox
yields similar results.

org.osgi.framework.BundleException: Unable to resolve medline.bam.provider.jdbc 
[181](R 181.0): missing requirement [medline.bam.provider.jdbc [181](R 181.0)] 
osgi.wiring.package; 
(&(osgi.wiring.package=com.medline.osgi)(version>=1.0.0)(!(version>=2.0.0))) 
[caused by: Unable to resolve medline.osgi [169](R 169.0): missing requirement 
[medline.osgi [169](R 169.0)] osgi.wiring.package; 
(&(osgi.wiring.package=com.medline.util.service)(version>=1.0.0)(!(version>=2.0.0)))
 [caused by: Unable to resolve medline.util [163](R 163.0): missing requirement 
[medline.util [163](R 163.0)] osgi.wiring.package; 
(osgi.wiring.package=java.io<https://urldefense.com/v3/__http:/java.io/__;!!PoMpmxQzTok3!q6M6Du7f0xiSnnAzLzvUs3aLfck7r20ezWQc7Q_why5WXrRefvh1fiGcgNFV4xk$>)]]
 Unresolved requirements: [[medline.bam.provider.jdbc [181](R 181.0)] 
osgi.wiring.package; 
(&(osgi.wiring.package=com.medline.osgi)(version>=1.0.0)(!(version>=2.0.0)))]
               at 
org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4368) ~[?:?]
               at org.apache.felix.framework.Felix.startBundle(Felix.java:2281) 
~[?:?]
….

Scott

Reply via email to