[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Soot on OS X?



On Wednesday, June 25, 2003, at 12:41 PM, Eric Bodden wrote:

This has nothing to do with the OS. Soot uses an internal classpath in order
to find your class files. You have to set this (see the appropriate command
line option --soot-classpath).

Right -- the question I had meant to ask, then, was, "what do I have to set the soot-class-path to on OS X to get the base java.lang classes included?" Those classes are not in my classpath by default, since the Java runtime can find them automatically. (It is an OS-specific question, because OS X does not have a similar directory layout to other *nix systems and because Apple repackaged the classes into different jar files.)


Derek's answer solved my problem (thanks, Derek!). I actually was just going to check the system preferences, as he suggested, but I had gotten sidetracked by some Apple documentation that claimed that the only safe path to use for java.home was /Library/Java/Home.




best, wb

---
Will Benton <willb@cs.wisc.edu>
"Wir sind Bettler, das ist wahr"