[Soot-list] Re: CuncurrentModificationException

Eric Bodden eric.bodden at mail.mcgill.ca
Fri Aug 22 08:30:24 EDT 2008


I think there may be a problem with the whitespace in your path.

Eric

2008/8/22 Gerald Sit <Gerald.Sit at student.cityu.edu.hk>:
> Am I correct to use ";" as separator for windows environment? I tried something like
>
> java -cp sootclasses.jar soot.Main -cp
> ".;C:\\path\\to\\jdk\\jre\\lib\\rt.jar;C:\\path\\to\\jdk\\jre\\lib\\jce.jar" <other
> options>
>
> but it still reports "couldn't find classfile java.lang.Object"
>
> here's what I tried in the soot.Main -cp:
> in the following I use "C:\\Program Files\\Java\\jdk1.5.0_15\\jre\\lib\\rt.jar" as <rt>..
>
> input                                                           output
>
> empty(default)  no exception raised but didn't set soot's classpath with "-src-prec java" can't get java column information
> "."             can't find classfile java.lang.Object exception raised
> ".;<rt>"        can't find classfile java.lang.Object exception raised
> "<rt>"  no exception raised but can't get java column information
> "<rt>;."        no exception raised but can't get java column information
>
> I'm sure the path <rt> is correct with Object.class in java/lang/ jar package. Not sure why ".;<rt>" still reports exception and "<rt>;." does not output java column information.
>
> Thanks again.
>
>> jce.jar has to be on Soot's classpath, e.g.:
>>
>> java -cp sootclasses.jar soot.Main -cp
>> .:/path/to/jdk/jre/lib/rt.jar:/path/to/jdk/jre/lib/jce.jar <other
>> options>
>>
>> Eric
>



-- 
Eric Bodden
Sable Research Group
McGill University, Montréal, Canada


More information about the Soot-list mailing list