Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Eclipse Ant exception...Specified JRE installation does not exist...
Eclipse Ant exception...Specified JRE installation does not exist... [message #317120] Tue, 26 June 2007 13:18 Go to next message
Eclipse UserFriend
Originally posted by: adym.lincoln.libertymutual.com

Hi all,

I have some non-java projects (Static Web Projects) where I use Ant to do
the builds from...basically, the Ant script just copies files to remote
locations on the network. The Ant scripts use to work, but now I just get
a dialog box with the error/exception:

The specified JRE installation does not exist.

However, I "can" run Ant in my Java projects within the same workspace.
Why won't Ant work on my Static Web Projects, but works fine on my Java
projects?

Environment
-----------
- Windows 2000 Professional, SP4
- Eclipse 3.2.1, Callisto with Data Tools.
- JDK 1.5.0-10


tia,

adym
Re: Eclipse Ant exception...Specified JRE installation does not exist... [message #317126 is a reply to message #317120] Tue, 26 June 2007 15:08 Go to previous message
Darin Swanson is currently offline Darin SwansonFriend
Messages: 2386
Registered: July 2009
Senior Member
Open the launch configuration dialog for your Ant build.
Go to the JRE tab
Pick the JRE installation that you wish to use to run the build

HTH
Darins

"Adym Lincoln" <adym.lincoln@libertymutual.com> wrote in message
news:993ff8d4943cdf1ac10ed7563336ced7$1@www.eclipse.org...
> Hi all,
>
> I have some non-java projects (Static Web Projects) where I use Ant to do
> the builds from...basically, the Ant script just copies files to remote
> locations on the network. The Ant scripts use to work, but now I just get
> a dialog box with the error/exception:
>
> The specified JRE installation does not exist.
>
> However, I "can" run Ant in my Java projects within the same workspace.
> Why won't Ant work on my Static Web Projects, but works fine on my Java
> projects?
>
> Environment
> -----------
> - Windows 2000 Professional, SP4
> - Eclipse 3.2.1, Callisto with Data Tools.
> - JDK 1.5.0-10
>
>
> tia,
>
> adym
>
>
Re: Eclipse Ant exception...Specified JRE installation does not exist... [message #317127 is a reply to message #317126] Tue, 26 June 2007 15:06 Go to previous message
Eclipse UserFriend
Originally posted by: adym.lincoln.libertymutual.com

Yup. That was it. I had been running the Ant builds by opening the
build.xml into the Editor and then just right-clicking the Targets in the
Outline view and select Run As > Ant Build.

All I had to do was select Run As > Ant Build... to get the dialog...

thx,

adym
Previous Topic:Can't ContentFormatting to work (psychic debuggers needed!)
Next Topic:[Databinding] Bug in AbstractStringToNumberValidator?
Goto Forum:
  


Current Time: Fri Apr 19 20:06:50 GMT 2024

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

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

Back to the top