Skip to content

JNAInchi and OSGi #25

@scootermorris

Description

@scootermorris

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions