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

Re: Soot on OS X?



Hi!

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).

@developers: Shouldn't that have been changed to get the environment
classpath as default?

Hope that helps,
Eric

----- Original Message -----
From: "Will Benton" <willb@cs.wisc.edu>
To: <soot-list@sable.mcgill.ca>
Sent: Wednesday, June 25, 2003 5:31 PM
Subject: Soot on OS X?


> Hello,
>
> I am trying to run Soot on an OS X machine, but I get the following
> error:
>
> Soot started on Wed Jun 25 10:00:12 CDT 2003
> Exception in thread "main" java.lang.RuntimeException: couldn't find
> type: java.lang.Object (is your soot-class-path set properly?)
>          at
> soot.SootResolver.resolveClassAndSupportClasses(SootResolver.java:92)
>          at soot.Scene.loadClassAndSupport(Scene.java:254)
>          at soot.Scene.loadNecessaryClasses(Scene.java:644)
>          at soot.Main.run(Main.java:170)
>          at soot.Main.main(Main.java:152)
>
> I can run other Java programs with no problem.  Unfortunately, Apple
> has repackaged the java classes, so I haven't the slightest where I can
> find a jar file containing java.lang.Object and friends.  (There is no
> "rt.jar").  Is anyone having any luck in this configuration?  If so,
> what do I need to do?
>
>
>
>
> thanks,
> wb
>
> ---
> Will Benton <willb@cs.wisc.edu>
> "Wir sind Bettler, das ist wahr"
>
>
>