Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » set java vm for ant runner?
set java vm for ant runner? [message #65534] Fri, 06 June 2003 14:36 Go to next message
Eclipse UserFriend
Originally posted by: no.spam.com

How do I set the java vm that the Ant runner runs under? For some
reason, mine keeps trying to run under a jre (rather than the jdk) which
is causing me headaches.

Thanks,

Dan
Re: set java vm for ant runner? [message #65845 is a reply to message #65534] Fri, 06 June 2003 18:31 Go to previous messageGo to next message
Darin Swanson is currently offline Darin SwansonFriend
Messages: 2386
Registered: July 2009
Senior Member
Are you programmatically using AntRunner are just attempting to run an Ant
build?

In both cases by default the build will occur in the same VM as Eclipse...so
you must have launched Eclipse with a JRE. In 2.1 you need to launch Eclipse
with the JVM you wish to use.

In the latest integration builds and the milestone build that should be
announced later today, you can set an Ant build to run in a separate VM.
As a "normal" user: see the JRE tab for an Ant launch configuration.
Programmatically: take a look at AntLaunchDelegate.

HTH
Darins

"Dan Armbrust" <no@spam.com> wrote in message
news:bbq8v9$8jh$1@rogue.oti.com...
> How do I set the java vm that the Ant runner runs under? For some
> reason, mine keeps trying to run under a jre (rather than the jdk) which
> is causing me headaches.
>
> Thanks,
>
> Dan
>
Re: set java vm for ant runner? [message #65945 is a reply to message #65845] Fri, 06 June 2003 19:23 Go to previous message
Eclipse UserFriend
Originally posted by: no.spam.com

Cool, thanks, I used the -vm flag on the eclipse executeable to fix it
for now.



Darin Swanson wrote:

> Are you programmatically using AntRunner are just attempting to run an Ant
> build?
>
> In both cases by default the build will occur in the same VM as Eclipse...so
> you must have launched Eclipse with a JRE. In 2.1 you need to launch Eclipse
> with the JVM you wish to use.
>
> In the latest integration builds and the milestone build that should be
> announced later today, you can set an Ant build to run in a separate VM.
> As a "normal" user: see the JRE tab for an Ant launch configuration.
> Programmatically: take a look at AntLaunchDelegate.
>
> HTH
> Darins
>
> "Dan Armbrust" <no@spam.com> wrote in message
> news:bbq8v9$8jh$1@rogue.oti.com...
>
>>How do I set the java vm that the Ant runner runs under? For some
>>reason, mine keeps trying to run under a jre (rather than the jdk) which
>>is causing me headaches.
>>
>>Thanks,
>>
>>Dan
>>
>
>
>
Previous Topic:Running on RHL 7.3
Next Topic:Crash on startup under W2K Adv./W2K3 Ent.
Goto Forum:
  


Current Time: Sat Jul 27 19:26:15 GMT 2024

Powered by FUDForum. Page generated in 0.02958 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top