[Soot-list] run program through cmd prompt

dinesh chhatani dinustudy at gmail.com
Wed Apr 14 10:07:18 EDT 2010


Hi,
can u please give me an example taking into consideration my below mentioned
scenario

On Wed, Apr 14, 2010 at 6:31 PM, Hamid 2C <hamid2c at gmail.com> wrote:

> Hi Dinesh,
>
> You should set the --soot-classpath argument, too. In this way, you
> pass the directory where you own class files reside to soot.
>
> Hamid
>
> > I am writing my program in eclipse.
> >
> > My main method has soot.Main.main(args)  ...This method is in class A
> > So I am supposed to give some class as argument say "Temp"
> >
> > If I want to run the same program on command line what shall I do?
> > I tried java -cp <soot> ;"my current directory where temp and A resides"
> A
> > Temp
> > It throws an exception:classNotFoundException:cause by soot.Transformer
> >
> > How to resolve this..
> >
> > And also In eclipse its working fine I just give "Temp" as
> argument....why
> > so?
> > <soot> (collection of 3 jars required for soot)
> > --
> > Regards,
> > Dinesh Chhatani
> >
> > _______________________________________________
> > Soot-list mailing list
> > Soot-list at sable.mcgill.ca
> > http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
> >
> >
>



-- 
Regards,
Dinesh Chhatani
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.cs.mcgill.ca/pipermail/soot-list/attachments/20100414/eeb75a17/attachment.html 


More information about the Soot-list mailing list