Hi CDK users,

I've just picked up this library and can't get past the first post.

For some reason I can't get access to many of the data classes 
(Molecule, Atom etc.) although I can make use of parts of the cdk.io

Could this be due to some deficiency in the deb-package distribution?

Using Eclipse, I have added all of the distribution jars to the build 
path, but it will not resolve classes invoked in the manner of the 
various code examples.


My test code goes as follows:

----------------------------------------------------------

import org.openscience.cdk.*;
import org.openscience.cdk.io.*;
import java.util.Scanner;
import java.io.*;

public class CDKtest {

     public static void main(String[] args) {

         Scanner input = new Scanner( System.in );
         String response = input.nextLine();
         InputStream filestream = new FileInputStream( response );
         MDLReader filereader = new MDLReader( filestream );
         Molecule mol = new Molecule();

     }
}
----------------------------------------------------------

Molecule cannot be resolved to a type, although MDLReader causes no 
problems. Which jar do the basic data classes belong in?

I would appreciate any suggestions as to what could be wrong. I've 
played about with the classpath for more hours than I care to count.

Regards,

Kieron



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Cdk-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cdk-user

Reply via email to