Hi everyone,

First thank you for your consideration.

Well, I am a newbie to CDK and I am trying to use it, from Ruby through the
Ruby Java Bridge (Rjb).
I have installed CDK (1.3.1) according to the README file (using ant etc..)
and copied all the created jar files into a lib/cdk subdirectory in my
project's main dir.
Using the right syntax, I have been able to import some external (non cdk)
classes. However, when applying it to CDK it seems that something is not
quite right.
I have tried to import different classes such as the EStateFingerprint class
from org/openscience/cdk/fingerprint (after I added the absolute path
(/home/******/lib/cdk/cdk-fingerprint.jar to fingerprint.jar to my CLASSPATH
and made sure that it is included).

The line in my code is: fp=Rjb::import
'org.openscience.cdk.fingerprint.EStateFingerprinter'
I got the following error: in `import':
org/openscience/cdk/fingerprint/IFingerprinter (NoClassDefFoundError)

This class is required in EStateFingerprinter.java and is present in the
same fingerprint.jar too (as EStateFingerprinter). So, I do not understand
the (NoClassDefFoundError).

I tried to import another class: SMARTSQueryTool from
(org.openscience.cdk.smiles.smarts.SMARTSQueryTool) and add a similar error.
This time, the class org.openscience.cdk.interfaces.IAtomContainer was not
found, although it is included in the "interfaces" subdirectory. I have to
mention that I also added the correct path to the class in my $CLASSPATH and
logged off/on (eventhogh a source /etc/profile might have help at least for
the current session).


I could not find a thread related to this issue, so I am stuck here.

Could someone help me out, please?

Yannick
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Cdk-user mailing list
Cdk-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdk-user

Reply via email to