E:\jclass>java TestDbase
Exception in thread "main" java.lang.NoClassDefFoundError: TestDbase
E:\jclass>java -cp c:\mm.mysql\mm.mysql.jar:. TestDbase
Exception in thread "main" java.lang.NoClassDefFoundError: TestDbase
first of I would highly recommend to install Cygwin (www.cygwin.com) if
you came from *nix enviroment. Second make sure that your CLASSPATH
contain '.', i.e. current directory. That error above basically sez that
your jvm can't find class with the name TestDbase in CLASSPATH and it's
nor checking current directory by default. Hope this helps.