<div dir="ltr">Hello Bob,<div>I had the same problem before.</div><div>I think you should use this: </div><div><br></div><div><br></div><div><div class="prettyprint" style="border: 1px solid rgb(187, 187, 187); word-wrap: break-word; background-color: rgb(250, 250, 250);"><code class="prettyprint"><div class="subprettyprint"><div class="prettyprint" style="border: 1px solid rgb(187, 187, 187); word-wrap: break-word; background-color: rgb(250, 250, 250);"><code class="prettyprint"><div class="subprettyprint"><div class="subprettyprint"><span style="color: rgb(102, 0, 102); font-family: Arial, Helvetica, sans-serif;">SootClass c = Scene.v().forceResolve(MyClass.class.getName(), SootClass.BODIES);</span><br></div><div class="subprettyprint"><font color="#660066">c.setApplicationClass();</font></div><div class="subprettyprint"><font color="#660066">Scene.v().loadNecessaryClasses();</font></div><div class="subprettyprint"><span class="Apple-tab-span" style="white-space:pre"><font color="#660066">                </font></span></div><div class="subprettyprint"><font color="#660066">SootMethod method = c.getMethodByName(&quot;myMethod&quot;);//main</font></div><div class="subprettyprint"><font color="#660066">List&lt;SootMethod&gt; entryPoints = new ArrayList&lt;SootMethod&gt;();</font></div><div class="subprettyprint"><font color="#660066">entryPoints.add(method);</font></div><div class="subprettyprint"><font color="#660066">Scene.v().setEntryPoints(entryPoints);</font></div><div><br></div></div></code></div><span style="color: #660;" class="styled-by-prettify"><br>Best Regards,<br>Glauco Cardoso<br><br><br></span></div></code></div><br><br></div><div><br></div><div><br><br>Em terça-feira, 24 de maio de 2016 13:49:46 UTC-3, Bob Godar  escreveu:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Hello <p>I have the following problem: If I run Soot in the whole-program mode I always get the  message : No Main class found. <br>And I changed before the Soot Mainclass to soot.jimple.toolkits.ide.Main in the Soot window. With this setup i don´t get any error messages and I get my Jimple output.</p><p>I use the Version 2.5.2 as eclipse (Kepler) plugin and as external jar the latest soot-trunk for getting the Heros Jimple examples for Soot.</p><p>I am really frustrated because I don´t know how to fix it. <br>I hope you can help me.</p><p>Best regards </p><p>Bob Godar from the LMU Munich</p><p><br> <br>  <br>______________________________<wbr>_________________<br>Soot-list mailing list<br><a href="javascript:" target="_blank" gdf-obfuscated-mailto="RlRZxXGSAQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">Soot...@CS.McGill.CA</a><br><a href="https://mailman.CS.McGill.CA/mailman/listinfo/soot-list" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fmailman.CS.McGill.CA%2Fmailman%2Flistinfo%2Fsoot-list\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNESpIFG08DX_QShQ4aH7soZrrlBBw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fmailman.CS.McGill.CA%2Fmailman%2Flistinfo%2Fsoot-list\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNESpIFG08DX_QShQ4aH7soZrrlBBw&#39;;return true;">https://mailman.CS.McGill.CA/<wbr>mailman/listinfo/soot-list</a><br></p><p></p><p></p><p></p><p></p><p></p></blockquote></div></div>