Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JNAInchi and OSGi #25

Open
scootermorris opened this issue Aug 14, 2024 · 0 comments
Open

JNAInchi and OSGi #25

scootermorris opened this issue Aug 14, 2024 · 0 comments

Comments

@scootermorris
Copy link

I have a cheminformatics app for Cytoscape called chemViz that uses CDK. I was very excited to see that CDK was moving to use JNAInchi, but I have been unable to make it work with OSGi. The problem is that the native code is not on a classpath since it's part of the OSGi bundle. I can load native code using OSGi's implementation of System.loadLibrary(), which is bundle-aware, but System.load is not bundle aware, so JNA can't find the native modules. Do you have anyone who has successfully used JNAInchi in an OSGi setting?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant