[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Works in Linux but not in Windows.
On Fri, 5 Apr 2002, Henrik Enqvist IB wrote:
> java -classpath
> sootclasses-1.2.2.jar;jasminclasses-1.06-s10.jar;c:\j2sdk1.4.0\jre\lib\rt.jar;.
Soot is complaining about having . as part of its classpath. The relevant
lines of soot.util.SourceLocator read as follows:
if(classPath.indexOf(fileSeparator) == 0 ||
(isRunningUnderBraindeadOS && classPath.charAt(1) == ':'))
You should add a test 'classPath.length() > 1' before
'classPath.charAt(1)', or remove . from the classpath (if you put the
explicit path, or anything longer than 1 character, it'll work fine.)
pat