load native library in OSGI bundle | Community
Skip to main content
Deepti_v_Jain
Level 2
October 16, 2015
Solved

load native library in OSGI bundle

  • October 16, 2015
  • 3 replies
  • 1748 views

i am trying loading dll using Bundle-NativeCode but getting below exception while bundle starts

cqse-httpservice %bundles.pluginTitle: Cannot start (org.osgi.framework.BundleException: Unresolved constraint in bundle XXXXXX: No matching native libraries found.) org.osgi.framework.BundleException: Unresolved constraint in bundle XXXXXX: No matching native libraries found.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by joerghoh

Hi,

I guess, that's not a problem specific to AEM, but rather a general JNI problem or maybe something special to OSGI and JNI.

kind regards,
Jörg

3 replies

joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
October 16, 2015

Hi,

I guess, that's not a problem specific to AEM, but rather a general JNI problem or maybe something special to OSGI and JNI.

kind regards,
Jörg

smacdonald2008
Level 10
October 16, 2015

See http://blog.vogella.com/2010/07/27/osgi/

However most dlls have a equilvant Java library. Its far better to use Java libraries with AEM then try and get dlls to work with AEM.

Deepti_v_Jain
Level 2
October 16, 2015
While using bundle-nativecode in manifest I am getting error no matching native libraries found