In my program I have used CDK library. The program is
developed using NetBeans. Under both Windows and
Linux, everything is fine under IDE of NetBeans. I am
planning to generate a standalone version. The
standalone version works fine under Linux.  However, I
met a problem under Windows. 


I have generated a directory under Windows. Copy the
jar file of my program (a.jar) generated by Netbeans
to this directory. Copy the cdk-20050826.jar to this
directory. The command I use is java -cp
cdk-20050826.jar -jar a.jar and the following error
occurs:

Exception in thread "main"
java.lang.NoClassDefFoundError:
org/openscience/cdk/ChemObject at
a.Main.main(Main.java:46)

Any ideas? Thanks a lot.

F

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


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