[Soot-list] Java cannot find soot/Main

Raghav Karol raghav.karol at gmail.com
Tue Jan 23 17:14:44 EST 2007


On 1/23/07, Stephen Torri <storri at torri.org> wrote:
> I downloaded the soot, jasmin and polyglot from the soot website and
> compiled them with Sun JDK 1.6. When I tried to run the application with
> the CLASSPATH environment variable set to:
>
> storri at base$ echo $CLASSPATH
> .;/home/storri/src/soot/classes;/home/storri/src/polyglot/lib/polyglot.jar;/home/storri/src/polyglot/lib/java_cup.jar;/home/storri/src/jasmin/classes
>
> I get the following error:
>
> storri at base$ java soot.Main
> Exception in thread "main" java.lang.NoClassDefFoundError: soot/Main
>
> What are the common causes for this error?
>

It looks like you're on a unix system but you're using the windows
classpath delimiter ';' when you should be using a ':'.


> Stephen
>
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
>

HTH
-- 
Raghav


More information about the Soot-list mailing list