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

Re: Soot on OS X?




On Thursday, June 26, 2003, at 01:31 AM, Will Benton wrote:


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?

Do you use fink? If so, I've written a fink package for soot. All you have to do is go:


$ fink install soot

If not, make sure /System/Library/Frameworks/JavaVM.framework/Classes/classes.jar is in your class path.

--
Rohan Lloyd