This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

ant with gcc


Hi All,

I have an issue with using ant with gcc:

While with Sun, I can simply set JAVA_HOME as such: export
JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.14/
so that ant can find /usr/lib/jvm/java-6-sun-1.6.0.14/lib/tools.jar
(which is essentially $JAVA_HOME/lib/tools.jar)

Somehow, I have trouble to do the same with my install of gcc:

'locate tools.jar' returns
'/local/gcc-4_4-branch/install/lib/jvm/lib/tools.jar' so that I've
put: export JAVA_HOME=/local/gcc-4_4-branch/install/lib/jvm/

But then, I get this:

$ ant
Unable to locate tools.jar. Expected to find it in
/local/gcc-4_4-branch/install/lib/tools.jar
Buildfile: build.xml does not exist!
Build failed

Any clues ?

Cheers
David


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]