[Soot-list] class path problem
Jennifer Lhotak
jlhotak at cs.mcgill.ca
Tue Jun 14 21:22:57 EDT 2005
Hi,
Usually you don't need the .class part in the classname.
So try making myClassName = test1 instead of test1.class
Jennifer
On Tue, 14 Jun 2005, Jasen Carrol wrote:
> Hi,
>
> I'm new to soot and I want to load some java classes
> off the disk programmatically. I tried doing the
> following:
>
> Options.v().set_soot_classpath("myClassDir");
> Scene.v().loadClassAndSupport("myClassName");
>
>
> However I get the following exception when I run my
> program:
>
> java.lang.RuntimeException: couldn't find class:
> test1.class (is your soot-class-path set properly?)
>
>
> Is there antoher way to do this or am I simply messing
> up some details? I would appreciate any help.
>
> Thanks,
> Jasen
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
>
More information about the Soot-list
mailing list