From: Frank <pea...@ya...> - 2006-05-13 17:16:38
|
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 |