Hi guys,

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, I tried to use
the RDKit libraries in KNIME/Eclipse in order to develop my own nodes based
on the RDKit toolkit.

For example:

import org.RDKit.RDKFuncs;
import org.RDKit.ROMol;

public class RDKitTest {
 public static void main (String[] args) throws Exception
{
ROMol mol = null;
 String smi = "c1ccccc1N";
mol = RDKFuncs.MolFromSmiles(smi);
System.out.println(mol.getNumAtoms());
 }


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???


Regards,

George Papadatos
------------------------------------------------------------------------------
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