thanks, that did the trick.

Filip

----- Original Message -----
From: "Conor MacNeill" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 09, 2001 2:59 PM
Subject: RE: ${java.home} - why is it pointing at the JRE?


> Filip,
>
> The behaviour you are seeing is correct. This is how all the JDKs from 1.2
> and beyond seem to behave. Not sure if that is universal. I don't know how
> the IBM JDKs work here or the JDK on MaxOS. Anyway, I would solve your
> problem by not specifiying the full path to javac when you invoke exec. If
> it is on your path it should be found.
>
> Conor
>
>
> --
> Conor MacNeill
> [EMAIL PROTECTED]
> Cortex eBusiness
> http://www.cortexebusiness.com.au
>
> > -----Original Message-----
> > From: Filip Hanik [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, 10 January 2001 9:45
> > To: [EMAIL PROTECTED]
> > Subject: Re: ${java.home} - why is it pointing at the JRE?
> >
> >
> > actually this didn't solve my problem
> >
> > I'm using the "exec" task to launch javac manually due to a bug with
ant.
> > and ${java.home} still points to the jre home directory
> >
> > any ideas here
> > Filip
> >
> > ----- Original Message -----
> > From: "Filip Hanik" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Tuesday, January 09, 2001 11:23 AM
> > Subject: Re: ${java.home} - why is it pointing at the JRE?
> >
> >
> > > sweet,
> > > thanks
> > > Filip
> > > ----- Original Message -----
> > > From: "Bill Burton" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Tuesday, January 09, 2001 11:12 AM
> > > Subject: Re: ${java.home} - why is it pointing at the JRE?
> > >
> > >
> > > > Hello,
> > > >
> > > > The java.exe installed as part of the JRE must be earlier in the
PATH
> > than
> > > > the SDK's java.exe.  I don't think this would be a problem as long
as
> > the
> > > > JRE and SDK are the same version.  The JAVA_HOME variable is used
> > > > primarily to determine the location of tools.jar utilized by the
> > <javac>,
> > > > <jar> and a few other tasks.
> > > >
> > > > However, if this is a problem, set the variable JAVACMD to
> > point to the
> > > > java.exe in your SDK:
> > > >   set JAVA_HOME=...
> > > >   set JAVACMD=%JAVA_HOME%\bin\java.exe
> > > > which will cause ant.bat to use the java.exe under JAVA_HOME.
> > > >
> > > > For Ant 1.3alpha in the CVS tree, setting JAVACMD is not necessary.
> > > >
> > > > -Bill Burton
> >
> >

Reply via email to