[Soot-list] Exception while running
Zeinab Lashkaripour
lashkaripour at yahoo.com
Sat Feb 2 07:59:12 EST 2013
Thanks Phil,
You'r right, but there is a problem. I got sootall and after extracting it gave me 3 folders for soot, jasmin and polyglot but no jars.
I have also got soot.jar and the 3 jars of soot/jasmin/polyglot classes but I don't have any jar for jasmin and polyglot by them selves and I didn't find any in the download site either.
How can I get these 2 jars?
Regards
----- Original Message -----
From: Phil Pratt-Szeliga <pcpratts at trifort.org>
To: Zeinab Lashkaripour <lashkaripour at yahoo.com>
Cc: "soot-list at sable.mcgill.ca" <soot-list at sable.mcgill.ca>
Sent: Saturday, February 2, 2013 4:09 PM
Subject: Re: [Soot-list] Exception while running
Hi Zeinab,
You need jasmin on the classpath of soot.
Sincerely,
Phil Pratt-Szeliga
On Sat, Feb 2, 2013 at 7:18 AM, Zeinab Lashkaripour
<lashkaripour at yahoo.com> wrote:
> Hi,
> I ran my code to see what's right and whats wrong but, the following
> exception occurred:
>
> Exception in thread "main" java.lang.NoClassDefFoundError: jasmin/Main
> at soot.util.JasminOutputStream.flush(JasminOutputStream.java:35)
> at sun.nio.cs.StreamEncoder.implFlush(Unknown Source)
> at sun.nio.cs.StreamEncoder.flush(Unknown Source)
> at java.io.OutputStreamWriter.flush(Unknown Source)
> at java.io.PrintWriter.flush(Unknown Source)
> at soot.PackManager.writeClass(PackManager.java:915)
> at soot.PackManager.writeOutput(PackManager.java:475)
> at soot.PackManager.writeOutput(PackManager.java:400)
> at soot.Main.run(Main.java:199)
> at soot.Main.main(Main.java:141)
> at MyMain.main(MyMain.java:293)
> Caused by: java.lang.ClassNotFoundException: jasmin.Main
> at java.net.URLClassLoader$1.run(Unknown Source)
> at java.net.URLClassLoader$1.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> ...
>
> Whats the problem? Can anyone help me?
>
> Regards,
> Zeinab
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.cs.mcgill.ca/pipermail/soot-list/attachments/20130202/cd2c9e28/attachment.html
More information about the Soot-list
mailing list