You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Diane Holt <ho...@yahoo.com> on 2001/01/09 07:14:12 UTC

Quick question wrt JAVA_HOME

I was writing up a section for the <sound> task for index.html (since I've
made changes to it, and since it doesn't have one yet), and of course
(being the editor-type that I am), couldn't resist reading through the doc
and correcting/cleaning up things a bit. So the question is: Is JAVA_HOME
used/needed by anything other than <javac>? I don't set it in my Ant
environment, and never have, so I assume the answer is "no" -- but I
wanted to double-check that before I added "(Optionally)" to it in the
list of things you need to do to run Ant.

Thanks,
Diane


=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/

Re: Quick question wrt JAVA_HOME

Posted by James Duncan Davidson <du...@x180.net>.
On 1/8/01 10:14 PM, "Diane Holt" <ho...@yahoo.com> wrote:

> I was writing up a section for the <sound> task for index.html (since I've
> made changes to it, and since it doesn't have one yet), and of course
> (being the editor-type that I am), couldn't resist reading through the doc
> and correcting/cleaning up things a bit. So the question is: Is JAVA_HOME
> used/needed by anything other than <javac>? I don't set it in my Ant
> environment, and never have, so I assume the answer is "no" -- but I
> wanted to double-check that before I added "(Optionally)" to it in the
> list of things you need to do to run Ant.

JAVA_HOME can go away with a bit of pre setup like the code in AntEater was
showing. By the time we get to 2.0, I hope to make setting JAVA_HOME go the
way of the dodo bird.

-- 
James Duncan Davidson                                        duncan@x180.net
                                                                  !try; do()


Re: Quick question wrt JAVA_HOME

Posted by Peter Donald <do...@apache.org>.
At 10:14  8/1/01 -0800, Diane Holt wrote:
>I was writing up a section for the <sound> task for index.html (since I've
>made changes to it, and since it doesn't have one yet), and of course
>(being the editor-type that I am), couldn't resist reading through the doc
>and correcting/cleaning up things a bit. So the question is: Is JAVA_HOME
>used/needed by anything other than <javac>? I don't set it in my Ant
>environment, and never have, so I assume the answer is "no" -- but I
>wanted to double-check that before I added "(Optionally)" to it in the
>list of things you need to do to run Ant.

JAVA_HOME is required for some of the other jdk tools too I believe.
However some of them use command line interface instead ;)

Cheers,

Pete

*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof."                   |
|              - John Kenneth Galbraith               |
*-----------------------------------------------------*