I'm trying to use SOOT to generate call graphs. However when I pass it some class to be analyzed, the exception NoClassDefFoundError is being thrown. I'm using the following two tutorials to be able to execute some of the commands: http://www.brics.dk/SootGuide/sootsurvivorsguide.pdf and http://www.bodden.de/2008/08/21/soot-command-line/#obtaining.
I have placed the java source code to be analyzed in the same classpath of the SOOT. So when i'm about to execute, i used the "." to specify the current directory. The following is the command I'm executing:
java -cp jasminclasses-2.5.0.jar:sootclasses-2.5.0.jar:plyglot-1.3.5.jar:.soot.Main -cp . MainFrame
The same error is being generated even if I leave the -cp out and just call the MainFrame immediately.
does anyone know why this kind of exception is being thrown?