Could not find the main class: mocha.Decompiler.
Hello everyone,
I have a problem with mocha:
1. I have installed jdk 6u22 and jre 6u22;
2. I have copyed the myclass.class and mocha.zip to the same folder - c:\myclasses;
But when I typed "java mocha.Decompiler -v -o myclass.class" in the CMD window with "c:\myclasses>" prompt then pressed "Enter", I got the massage as follow:
---------------------------------------------------------------------
Exception in thread "main" java.lang.NoClassDefFoundError: mocha/Decompiler
Caused by: java.lang.ClassNotFoundException: mocha.Decompiler
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: mocha.Decompiler. Program will exit.
------------------------------------------------------------------------
What's the reason.Could somebody help me ?
Thanks a lot.