<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><span style="background-color: rgba(255, 255, 255, 0);" class="">Found the rt.jar in <span style="font-family: "Andale Mono"; font-size: 13px;" class="">/Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home/lib</span></span><div class=""><font face="Andale Mono" size="2" class=""><span style="caret-color: rgb(47, 255, 18); background-color: rgba(255, 255, 255, 0);" class=""><br class=""></span></font></div><div class=""><font face="Andale Mono" size="2" class="">My HelloWordApp as follows:</font></div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Andale Mono";" class=""><span style="font-variant-ligatures: no-common-ligatures; background-color: rgba(255, 255, 255, 0);" class="">class HelloWorldApp {</span></div><div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Andale Mono";" class=""><span style="font-variant-ligatures: no-common-ligatures; background-color: rgba(255, 255, 255, 0);" class="">    public static void main(String[] args) {</span></div><div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Andale Mono";" class=""><span style="font-variant-ligatures: no-common-ligatures; background-color: rgba(255, 255, 255, 0);" class="">        System.out.println("Hello World!"); // Display the string.</span></div><div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Andale Mono";" class=""><span style="font-variant-ligatures: no-common-ligatures; background-color: rgba(255, 255, 255, 0);" class="">    }</span></div><div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Andale Mono";" class=""><span style="font-variant-ligatures: no-common-ligatures; background-color: rgba(255, 255, 255, 0);" class="">}</span></div></div><div class=""><font face="Andale Mono" size="2" style="background-color: rgba(255, 255, 255, 0);" class=""><br class=""></font></div><div class=""><font face="Andale Mono" size="2" style="background-color: rgba(255, 255, 255, 0);" class="">So I did the following:</font></div><div class=""><font face="Andale Mono" size="2" style="background-color: rgba(255, 255, 255, 0);" class=""><br class=""></font></div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Andale Mono";" class=""><span style="font-variant-ligatures: no-common-ligatures; background-color: rgba(255, 255, 255, 0);" class="">java -cp /Users/chingping.lee/Development/soot/sootclasses-trunk-jar-with-dependencies.jar soot.Main -cp .:/Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home/lib HelloWorldApp</span></div></div><div class=""><font face="Andale Mono" size="2" class=""><br class=""></font></div><div class="">Then this is what I get:</div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Andale Mono";" class=""><span style="font-variant-ligatures: no-common-ligatures; background-color: rgba(255, 255, 255, 0);" class="">Soot started on Sat Jan 19 14:41:20 SGT 2019</span></div><div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Andale Mono";" class=""><span style="font-variant-ligatures: no-common-ligatures; background-color: rgba(255, 255, 255, 0);" class="">java.lang.IllegalArgumentException</span></div><div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Andale Mono";" class=""><span style="font-variant-ligatures: no-common-ligatures; background-color: rgba(255, 255, 255, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">        </span>at org.objectweb.asm.ClassReader.<init>(ClassReader.java:185)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Andale Mono";" class=""><span style="font-variant-ligatures: no-common-ligatures; background-color: rgba(255, 255, 255, 0);" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>at org.objectweb.asm.ClassReader.<init>(ClassReader.java:168)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Andale Mono";" class=""><span style="font-variant-ligatures: no-common-ligatures; background-color: rgba(255, 255, 255, 0);" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>at org.objectweb.asm.ClassReader.<init>(ClassReader.java:439)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Andale Mono";" class=""><span style="font-variant-ligatures: no-common-ligatures; background-color: rgba(255, 255, 255, 0);" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>at soot.asm.AsmClassSource.resolve(AsmClassSource.java:65)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Andale Mono";" class=""><span style="font-variant-ligatures: no-common-ligatures; background-color: rgba(255, 255, 255, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">  </span>at soot.SootResolver.bringToHierarchyUnchecked(SootResolver.java:240)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Andale Mono";" class=""><span style="font-variant-ligatures: no-common-ligatures; background-color: rgba(255, 255, 255, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">       </span>at soot.SootResolver.bringToHierarchy(SootResolver.java:214)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Andale Mono";" class=""><span style="font-variant-ligatures: no-common-ligatures; background-color: rgba(255, 255, 255, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">        </span>at soot.SootResolver.bringToSignatures(SootResolver.java:279)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Andale Mono";" class=""><span style="font-variant-ligatures: no-common-ligatures; background-color: rgba(255, 255, 255, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">       </span>at soot.SootResolver.processResolveWorklist(SootResolver.java:172)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Andale Mono";" class=""><span style="font-variant-ligatures: no-common-ligatures; background-color: rgba(255, 255, 255, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">  </span>at soot.SootResolver.resolveClass(SootResolver.java:134)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Andale Mono";" class=""><span style="font-variant-ligatures: no-common-ligatures; background-color: rgba(255, 255, 255, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">    </span>at soot.Scene.loadClass(Scene.java:942)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Andale Mono";" class=""><span style="font-variant-ligatures: no-common-ligatures; background-color: rgba(255, 255, 255, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">     </span>at soot.Scene.loadClassAndSupport(Scene.java:927)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Andale Mono";" class=""><span style="font-variant-ligatures: no-common-ligatures; background-color: rgba(255, 255, 255, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">   </span>at soot.Scene.loadNecessaryClass(Scene.java:1729)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Andale Mono";" class=""><span style="font-variant-ligatures: no-common-ligatures; background-color: rgba(255, 255, 255, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">   </span>at soot.Scene.loadNecessaryClasses(Scene.java:1741)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Andale Mono";" class=""><span style="font-variant-ligatures: no-common-ligatures; background-color: rgba(255, 255, 255, 0);" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>at soot.Main.run(Main.java:241)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Andale Mono";" class=""><span style="font-variant-ligatures: no-common-ligatures; background-color: rgba(255, 255, 255, 0);" class=""><span class="Apple-tab-span" style="white-space:pre">     </span>at soot.Main.main(Main.java:141)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Andale Mono"; min-height: 15px;" class=""><span style="background-color: rgba(255, 255, 255, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></span></div><div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Andale Mono"; min-height: 15px;" class=""><span style="background-color: rgba(255, 255, 255, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span>I did the same on a centOS VM build and it does not issue any error</span></div></div><div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Andale Mono"; min-height: 15px;" class=""><span style="background-color: rgba(255, 255, 255, 0);" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Andale Mono"; min-height: 15px;" class=""><span style="background-color: rgba(255, 255, 255, 0);" class="">regards</span></div><div style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: "Andale Mono"; min-height: 15px;" class=""><span style="background-color: rgba(255, 255, 255, 0);" class="">CP</span></div><div class=""><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div><br class=""><blockquote type="cite" class=""><div class="">On 19 Jan 2019, at 1:17 AM, Ishaq <<a href="mailto:ishaq@ishaq.pk" class="">ishaq@ishaq.pk</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I am running Mac OS Mojave and it seems to work for me.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br class=""></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">My path to rt.jar is<font class=""> <span style="font-family:Monaco;font-size:11px" class="">/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/</span></font></div>





<div class=""><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><br class=""></div><div dir="ltr" class=""><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Have you tried to compile your input program first, Sometimes Soot can raise weird issue if you try to pass it .java which goes away when you pass it .class</div><br class=""></div><div dir="ltr" class="">--<div class="">MI</div></div></div></div></div>
</div></blockquote></div><br class=""></div></body></html>