Hello,
I'm studying J2EE with the Java Tutorial, and have run into some
trouble in my first attempt to compile using the following:
"ant compile" and I get the error:
Unable to locate tools.jar. Expected to find it in C:\Program
Files\Java\jre6\lib\tools.jar
Buildfile: build.xml does not exist!
Build failed
I set my system path to C:\Program Files (x86)\Java\jdk1.6.0_21\lib; to
see if this would help but it didn't.
Do I need to download a different version of the jdk that will install
in the Program Files dir for win64bit for example?
Or, is there a place to change where the system looks for tools.jar.
I've looked in the buil.xml file to see if there was something out of
place there, but didn't see anything that should point directly to the
file there,
and also did the same in the javadb-build-properties, and
javadb-sample-properties files that were provided by the tutorial.
Does anyone have any suggestions as to what I am doing wrong?
I am using Windows ver 6.1.7600
Thank you.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org