[Soot-list] jce.jar
Minas Charalambides
minchar86 at gmail.com
Sun Jan 20 16:12:52 EST 2013
Thanks for the help, I solved it. My paths were correct, it was a different
(silly) thing I did, which I describe below for others to avoid.
I was constructing a SootClass and a SootMethod in my SceneTransformer's
constructor, which was called before calling soot.Main.main(args). This
means that the arguments and classpath resolution had not happened yet,
resulting in the aforementioned exception.
Thanks,
Minas
On Sun, Jan 20, 2013 at 6:04 AM, Eric Bodden <eric.bodden at ec-spride.de>wrote:
> Hello.
>
> >> I create a SootClass and a SootMethod, and I also do
> >> Scene.v().loadClassAndSupport("java.lang.Object") somewhere.
>
> loadClassAndSupport sounds unnecessary here, as the class is already
> loaded. Just use Scene.getClass(..)
>
> >> Exception in thread "main" java.lang.RuntimeException: couldn't find
> >> class: javax.crypto.Cipher (is your soot-class-path set properly?)
>
> Usually this is part of jce.jar. Are you sure yours paths are right?
>
> Eric
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.cs.mcgill.ca/pipermail/soot-list/attachments/20130120/95d99371/attachment.html
More information about the Soot-list
mailing list