[Soot-list] building Soot in Eclipse -- javac not found

Eric Bodden eric.bodden at mail.mcgill.ca
Wed Dec 27 10:19:58 EST 2006


Hmm, I think your Eclipse is configured wrong. Usually the ant
implementation in Eclipse looks for javac at the location of the JRE
that is set within the run configuration for the build.xml that you use.
So I guess that your run configuration must be somehow wrong. (Don't
tamper around with the environment variables but rather with the JRE
configuration there.)

I never had any problems with this and I am building Soot with Eclipse
on Windows and Linux.

Eric

> -----Original Message-----
> From: soot-list-bounces at sable.mcgill.ca [mailto:soot-list-
> bounces at sable.mcgill.ca] On Behalf Of Ondrej Lhotak
> Sent: Saturday, December 23, 2006 8:40 PM
> To: soot-list at sable.mcgill.ca
> Cc: Matthew Dwyer; Rahul Purandare
> Subject: [Soot-list] building Soot in Eclipse -- javac not found
> 
> Hello Soot people...
> 
> Matthew Dwyer is having the problem described below building Soot in
> Eclipse, following the instructions at
> http://www.sable.mcgill.ca/soot/howto_soot_in_eclipse_with_svn.htm
> 
> Has anyone who builds Soot in Eclipse encountered this before?
> Does anyone know whether the instructions at the above address
> are up to date, and who wrote them?
> 
> Thanks.
> 
> Ondrej
> 
> ----- Forwarded message from Matthew Dwyer <dwyer at cse.unl.edu> -----
> 
> Cc: Rahul Purandare <rpuranda at cse.unl.edu>,
> 	Matthew Dwyer <dwyer at cse.unl.edu>
> From: Matthew Dwyer <dwyer at cse.unl.edu>
> Subject: Soot problem followup
> Date: Sat, 23 Dec 2006 12:20:46 -0600
> To: Ondrej Lhotak <olhotak at uwaterloo.ca>
> 
> Ondrej,
> 
> Here is a more specific diagnosis of the problem we are having
> building the
> SVN trunk under eclipse.
> 
> On Dec 23, 2006, at 11:35 AM, Rahul Purandare wrote:
> 
> >If I follow the instructions given under "Setting Up Soot in
> >Eclipse using SVN", it doesn't compile and gives me following error.
> >
> >BUILD FAILED
> >
> >C:\Documents and Settings\sweuser\workspace\soot-svn\build.xml:19:
> >Unable to find a javac compiler;
> >
> >com.sun.tools.javac.Main is not on the classpath.
> >
> >Perhaps JAVA_HOME does not point to the JDK
> >
> >This is the same error that we were getting yesterday. I tried to
> >set the environment variable by following run->external tools-
> >>external tools->environment, but it still doesn't work.
> 
> It's hard for me to imagine that this isn't something silly we are
> doing, but we are
> following the instructions exactly.   Note that this is happening on
> a windows installation.
> 
> Thanks for any help you can provide.
> 
> matt
> 
> 
> ----- End forwarded message -----
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list



More information about the Soot-list mailing list