Re: ant can't find javac compiler

2005-09-22 Thread paul
0. I'm on the user list now. 1. Thanks - I'll try it and post results on the user list. Steve Loughran writes: [EMAIL PROTECTED] wrote: Martin, I tried changing my $PATH as you suggested but that didn't help. Also, java and javac are both the same version (1.5.0_02). I wonder if ant runs i

Re: ant can't find javac compiler

2005-09-22 Thread Martin Gainty
rtin- - Original Message - From: <[EMAIL PROTECTED]> To: "Ant Developers List" Sent: Thursday, September 22, 2005 10:27 AM Subject: Re: ant can't find javac compiler Martin, I tried changing my $PATH as you suggested but that didn't help. Also, java and javac

Re: ant can't find javac compiler

2005-09-22 Thread Steve Loughran
[EMAIL PROTECTED] wrote: Martin, I tried changing my $PATH as you suggested but that didn't help. Also, java and javac are both the same version (1.5.0_02). I wonder if ant runs it's processes in another shell - one perhaps that doesn't pick up my personal env variables? Maybe it doesn't even r

Re: ant can't find javac compiler

2005-09-22 Thread paul
Martin, I tried changing my $PATH as you suggested but that didn't help. Also, java and javac are both the same version (1.5.0_02). I wonder if ant runs it's processes in another shell - one perhaps that doesn't pick up my personal env variables? Maybe it doesn't even run them in bash? Could

RE: ant can't find javac compiler

2005-09-22 Thread Martin Gainty
Paul- 2 things that I would look for move "$JAVA_HOME\bin" to front of $PATH make sure your JRE and JDK(SDK) are the same version e.g. javac -version Test.java java -version SHOULD report the same version Anyone else ??? Martin Gainty (mobile) 617-852-7822 (http)www.laconiadatasystems.com D

ant can't find javac compiler

2005-09-22 Thread paul
Dear dev@ant.apache.org, I am using ant to compile my struts webapp. I am using Linux 2.4.27 and running ant (1.5.2-26) from my shell which is bash. My environment variables which I set in my .bash_profile are: $JAVA_HOME=/usr/java/jdk1.5.0_02 $CLASSPATH=/usr/java/jdk1.5.0_02/lib:/usr/java/jdk