NoClassDefFoundError
If I executejava -jar jacobgen.jar it runs and I get:
JacobGen [options] typelibfile
Options:
-package:<destinationpackage name>
-destdir:<root dirfor classes>
-listfile:<listing file>
So I add the name of my 'typelibfile':java -jar jacobgen.jar xyz.dll and get:
JACOBGEN 0.4. Copyright 2000-2002 Massimiliano Bigatti. Relased under GNU GPL License
starting ...
Exception in thread"main" java.lang.NoClassDefFoundError: com/samskivert/viztool/clenum/ClassEnumerator
at com.jacob.jacobgen.Jacobgen.loadExternalClasses(Jacobgen.java:72)
at com.jacob.jacobgen.Jacobgen.generate(Jacobgen.java:121)
at com.jacob.jacobgen.Jacobgen.main(Jacobgen.java:397)
The problem I'm having is when I try to add viztool.jar to the command line (java -cp viztool.jar -jar jacobgen.jar xyz.dll) I still get that NoClassDefFoundError exception - I suspect I'm simply using the java command incorrectly (I've been looking at Java for just a few days)!
The three files (viztool.jar, jacobgen.jar, xyz.dll) are all in the folder I'm compiling from, and the xyz.dll and jacobgen.dll files are also in the windows\system32 folder (viztool is a pure java archive with no corresponding dll).
I'll be extremely grateful for any help!

