Hi George,

> I installed the RDKit nodes for KNIME (by copying the plugins folder
> manually, as I too had problems with the 'update from file' feature).
> Inspired by the source code that was bundled with the nodes,
Did you have the same problems as Paul, i.e. KNIME complaining about
some osbi.bundles not being found?


> However, this script throws the following runtime error:
> Exception in thread "main" java.lang.UnsatisfiedLinkError:
> org.RDKit.RDKFuncsJNI.MolFromSmiles(Ljava/lang/String;)J
> at org.RDKit.RDKFuncsJNI.MolFromSmiles(Native Method)
> at org.RDKit.RDKFuncs.MolFromSmiles(RDKFuncs.java:65)
> 
> In the Eclipse lib folder, I included all the .jar files and the RDKFuncs.dll.
> Any ideas???
In order to use code from native libaries Java needs to be told where to
look for them. This is usually done by defining -Djava.library.path
appropriately. If the application consists of Eclipse plugins (i.e. not
just a bunch of jars), then there is some magic that loads the native
libraries w/o needing to specify the explicitly. This is what happens
wiht the KNIME plugins. So you either need to set the Java property or
put your code in a plugin, which depends on org.rdkit.knime.types, and
run an Eclipse application.

Cheers,

Thorsten

-- 
Dr.-Ing. Thorsten Meinl               room: Z815
Nycomed Chair for Bioinformatics      fax: +49 (0)7531 88-5132
and Information Mining                phone: +49 (0)7531 88-5016
Box 712, 78457 Konstanz, Germany

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to