From: Roedy Green on
On Sat, 17 Apr 2010 21:47:27 +0000 (UTC), Martin Gregorie
<martin(a)address-in-sig.invalid> wrote, quoted or indirectly quoted
someone who said :

>> I can run java from any location from the DOS box. However javac and
>> jar
>> do not work.
>>
>Fix your search path.

The PATH environment variable. See http://mindprod.com/jgloss/jdk.html
for how.
--
Roedy Green Canadian Mind Products
http://mindprod.com

It�s amazing how much structure natural languages have when you consider who speaks them and how they evolved.
From: Roedy Green on
On Sat, 17 Apr 2010 18:27:55 -0400, "Bill Cunningham"
<nospam(a)nspam.invalid> wrote, quoted or indirectly quoted someone who
said :

>For ant . I also tried old dos paths by writing my own batch file that says
>this.

with ANT, you can set the parameters with SET in the BAT file you use
to kick off ANT, or you can set them in the control panel.
There is probably even a way to set them inside an ANT script, though
I have never done it.
--
Roedy Green Canadian Mind Products
http://mindprod.com

It�s amazing how much structure natural languages have when you consider who speaks them and how they evolved.
From: Roedy Green on
On Sat, 17 Apr 2010 19:02:40 -0400, "Bill Cunningham"
<nospam(a)nspam.invalid> wrote, quoted or indirectly quoted someone who
said :

>
> Yes. So classpath isn't set anymore to the tools.jar?

It was dropped from classpath and automatically included way back JDK
1.1 or so.
--
Roedy Green Canadian Mind Products
http://mindprod.com

It�s amazing how much structure natural languages have when you consider who speaks them and how they evolved.
From: Roedy Green on
On Sat, 17 Apr 2010 19:02:40 -0400, "Bill Cunningham"
<nospam(a)nspam.invalid> wrote, quoted or indirectly quoted someone who
said :

> Yes. So classpath isn't set anymore to the tools.jar?

since you have been away so long, have a peek at
http://mindprod.com/jgloss/gettingstarted.html
to familiarise yourself with the basics.
--
Roedy Green Canadian Mind Products
http://mindprod.com

It�s amazing how much structure natural languages have when you consider who speaks them and how they evolved.