Re: JAVA-HOME is pointing to JRE

2007-10-23 Thread Timothy Crowell
d chose the JRE folder. -Timothy - Original Message From: Peter Reilly <[EMAIL PROTECTED]> To: Ant Users List Sent: Tuesday, October 23, 2007 3:44:51 AM Subject: Re: JAVA-HOME is pointing to JRE You should not have the %20 in the name. This is a url escape sequence and will not be usa

Re: JAVA-HOME is pointing to JRE

2007-10-23 Thread Peter Reilly
; -Timothy > > > > - Original Message > > From: Lionel van den Berg <[EMAIL PROTECTED]> > > To: Ant Users List > > Sent: Tuesday, October 23, 2007 3:01:11 AM > > Subject: Re: JAVA-HOME is pointing to JRE > > > > On 23/10/2007, Ti

Re: JAVA-HOME is pointing to JRE

2007-10-23 Thread Peter Reilly
and I got "C:\Program%20Files\Java\jdk1.6.0_03" (without quotes). > > Bizard's suggestion seems to be PISIX specific. > > -Timothy > > - Original Message > From: Lionel van den Berg <[EMAIL PROTECTED]> > To: Ant Users List > Sent: Tuesday, O

Re: JAVA-HOME is pointing to JRE

2007-10-23 Thread Timothy Crowell
t;[EMAIL PROTECTED]> To: Ant Users List Sent: Tuesday, October 23, 2007 3:01:11 AM Subject: Re: JAVA-HOME is pointing to JRE On 23/10/2007, Timothy Crowell <[EMAIL PROTECTED]> wrote: > > Oh, I already have the JDK and JAVA_HOME is pointing to the JDK, but the > Command line is

Re: JAVA-HOME is pointing to JRE

2007-10-23 Thread Lionel van den Berg
On 23/10/2007, Timothy Crowell <[EMAIL PROTECTED]> wrote: > > Oh, I already have the JDK and JAVA_HOME is pointing to the JDK, but the > Command line is always looking in the JRE folder. > > -Timothy > > P.S. I have installed Ant on two computers, only one of them has this > problem. Please exec

Re: JAVA-HOME is pointing to JRE

2007-10-23 Thread Timothy Crowell
gt; To: Ant Users List Sent: Tuesday, October 23, 2007 1:52:54 AM Subject: RE: JAVA-HOME is pointing to JRE Ok. You need a JDK to compile Java classes, JRE is not enough. JRE -> java code execution JDK -> javac ode compilation :-S download the JDK from sun.com install it and let JAVA_H

RE: JAVA-HOME is pointing to JRE

2007-10-22 Thread Bizard Nicolas (KIRO 41)
TECTED] Sent: Tuesday, October 23, 2007 8:48 AM To: Ant Users List Subject: Re: JAVA-HOME is pointing to JRE "log.txt" is a log of the failed "Hello world!" build. "log2.txt" is a log of my debugging information. The error concerning tools.jar says that it could

Re: JAVA-HOME is pointing to JRE

2007-10-22 Thread Timothy Crowell
"log.txt" is a log of the failed "Hello world!" build. "log2.txt" is a log of my debugging information. The error concerning tools.jar says that it could not be found and that tools.jar was expected to be found in "C:\Program Files\Java\jre1.6.0_03". -Timothy _

Re: JAVA-HOME is pointing to JRE

2007-10-22 Thread prashanth . l
Install Java directly under C Drive, there should not be any spaces in JAVA-HOME Path.. ( the space between Program Files). Also set PATH variable till bin folder Also set CLASSPATH variable till lib folder Try the above ..

Re: JAVA-HOME is pointing to JRE

2007-10-22 Thread Lionel van den Berg
On 23/10/2007, Timothy Crowell <[EMAIL PROTECTED]> wrote: > > I am new to Java and Ant. > > I have set JAVA-HOME to "C:\Program Files\Java\jdk1.6.0_03" (no quotes), I > have dubble-checked this. > > Ant says JAVA-HOME is set to "C:\Program Files\Java\jre1.6.0_03" (no > quotes), this is causing seri

RE: JAVA-HOME is pointing to JRE

2007-10-22 Thread Bizard Nicolas (KIRO 41)
Hi, did you try to print the java home within your ant script? See there for basic env variables printing : http://betabloguant.free.fr/index.php?2007/10/17/451-another-ant-trick Some variables that are printable : java.version, java.version, user.home, java.class.path Hope that helps... -O

Re: JAVA-HOME is pointing to JRE

2007-10-22 Thread Lionel van den Berg
On 23/10/2007, Timothy Crowell <[EMAIL PROTECTED]> wrote: > > I am new to Java and Ant. > > I have set JAVA-HOME to "C:\Program Files\Java\jdk1.6.0_03" (no quotes), I > have dubble-checked this. > > Ant says JAVA-HOME is set to "C:\Program Files\Java\jre1.6.0_03" (no > quotes), this is causing seri