From: David Michel <dmichel76@googlemail.com>
To: java@gcc.gnu.org
Subject: ant with gcc
Date: Fri, 07 Aug 2009 12:59:00 -0000 [thread overview]
Message-ID: <b5bf7a380908070558n2e23f72xe17c4dbea818a18f@mail.gmail.com> (raw)
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
next reply other threads:[~2009-08-07 12:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-07 12:59 David Michel [this message]
2009-08-10 8:57 ` Andrew Haley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b5bf7a380908070558n2e23f72xe17c4dbea818a18f@mail.gmail.com \
--to=dmichel76@googlemail.com \
--cc=java@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).