Hi Alireza, On Wed, Feb 23, 2011 at 12:34 AM, Alireza Kashani <alireza.kashanip...@gmail.com> wrote: > I exported all jar files from, cdk/dis/jar into my java classpath
For your use case I recommend to build a single jar from source with: ant clean dist-large Which will create a dist/jar/cdk-1.3.8.jar in the source folder. Then, you can do on Linux (what operating system are you using?): $ cp /path/to/cdk/dist/jar/cdk-1.3.8.jar . $ CLASSPATH=cdk-1.3.8.jar jython which allows me to do on the Jython command line: >>> import org.openscience.cdk.Atom Important all classes with your command >>> import org.openscience.cdk.*; does not work for me. Please try to import just the Atom class, which will tell you if you placed the CDK jars in the right spot. Egon -- Dr E.L. Willighagen Postdoctoral Researcher Institutet för miljömedicin Karolinska Institutet Homepage: http://egonw.github.com/ LinkedIn: http://se.linkedin.com/in/egonw Blog: http://chem-bla-ics.blogspot.com/ PubList: http://www.citeulike.org/user/egonw/tag/papers ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Cdk-user mailing list Cdk-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cdk-user