[Soot-list] Exception in thread "main" java.lang.RuntimeException: There is no main class set!

Quentin Sabah quentin.sabah at inria.fr
Tue Sep 25 04:54:13 EDT 2012


Hi Pauline,

> I am reposting this message as I am still failing to figure out why am I
> getting this exception ("Exception in thread "main"
> java.lang.RuntimeException: There is no main class set!") even when I
> have set the main class to be "*test.CallGraphs*".

I noticed that test.CallGraphs have no static main method, what if you 
add one ? My hypothesis is that Soot is not considering test.CallGraphs 
as a main-class candidate.

Regards,

-- 
Quentin Sabah, CIFRE Ph.D. student
Grenoble University
INRIA-SARDES                   | STMicroelectronics/AST
Montbonnot, France             | Grenoble, France
mailto:quentin.sabah at inria.fr  | mailto:quentin.sabah at st.com
phone: +33 476 61 54 57        | phone: +33 476 58 44 14


More information about the Soot-list mailing list