Setting Java.Home for ant [message #64993] |
Mon, 23 June 2003 05:17  |
Eclipse User |
|
|
|
Originally posted by: mark.home.com
Hi folks,
I can\'t seem to locate where ant in Eclipse is retrieving it\'s
java.home from? It says that it\'s located at c:\\program
files\\java\\j2re1.4.1_01 and there is in fact something at that point but
as it doesn\'t contain the tools.jar it means that can\'t perform any
compilation.
I\'ve checked under Windows->Preferences->Java->Installed JRES and it
points to the full j2sdk under c:\\j2sdk1.4.1_01 which is fine it\'s just
the ant tool that has it mixed up.. Where do I set this value?
Thanks,
Mark.
|
|
|
|
Re: Setting Java.Home for ant [message #65232 is a reply to message #65001] |
Mon, 23 June 2003 12:38  |
Eclipse User |
|
|
|
Originally posted by: mark.home.com
Thanks a million for that Csaba. Had me flummoxed for days.
Thanks,
Mark.
Horváth, Csaba wrote:
> Hi,
> Maybe the simplest way is to specify the jdk Eclipse uses (because ant runs
> on the same vm as Eclipse in 2.0 and 2.1).
> Start Eclipse with the -vm parameter, ie.: eclipse.exe -vm
> c:\\j2sdk1.4.1_01\\bin\\javaw.exe.
> HTH,
> Regards,
> Csaba
> \"mark\" <mark@home.com> wrote in message news:bd6gjm$v4r$1@rogue.oti.com...
> > Hi folks,
> > I can\\\'t seem to locate where ant in Eclipse is retrieving
it\\\'s
> > java.home from? It says that it\\\'s located at c:\\\\program
> > files\\\\java\\\\j2re1.4.1_01 and there is in fact something at that point
but
> > as it doesn\\\'t contain the tools.jar it means that can\\\'t perform any
> > compilation.
> >
> > I\\\'ve checked under Windows->Preferences->Java->Installed JRES and it
> > points to the full j2sdk under c:\\\\j2sdk1.4.1_01 which is fine it\\\'s
just
> > the ant tool that has it mixed up.. Where do I set this value?
> >
> > Thanks,
> > Mark.
> >
|
|
|
Powered by
FUDForum. Page generated in 0.03684 seconds