Problem using Ant [message #7736] |
Wed, 23 April 2003 21:01 |
Eclipse User |
|
|
|
Originally posted by: eclipse.wingspread.fastmail.fm
I've downloaded a project from Sourceforge which has an Ant built script.
When I try to run Ant I get an error message telling me it can't find javac
on the classpath. In the build.xml there is this line:
<echo message="java.home = ${java.home}" />
which when written to the console shows me a JRE classpath. However, in my
Eclipse preferences I've set the installed JRE to point to a JDK
installation. I also have a Windows environment variable set up to point
to the JDK not the JRE. I believe that when I installed Eclipse, it found
the JRE and set things up to point at the JRE. Grepping around some of the
files in the installation directory I see plenty of references to the old
JRE path, but I don't relish modifying these files by hand. Can someone
tell me where the system is finding ${java.home} when running Ant scripts
and how can I change it to point to the correct location?
Thanks.
--
James Howe
|
|
|
|
Powered by
FUDForum. Page generated in 0.03012 seconds