You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by mahsa mofidpoor <mo...@gmail.com> on 2012/03/30 23:01:21 UTC

build failed

Hi,

After checking out the source code, I go to my eclipse workspace and
execute "ant clean package eclipse-files", but I receive the following
message:

Unable to locate tools.jar. Expected to find it in
/usr/lib/jvm/java-6-openjdk/lib/tools.jar
Buildfile: build.xml does not exist!
Build failed

Actually jar.tools is in my /usr/lib/jvm/java-1.5.0-gcj-4.4/lib. Can I
configure it to look in the former directory?

Thank you in advance for your assistance,
Mahsa

Re: build failed

Posted by Hugo <hu...@trippaers.nl>.
Heya,

This is an eclipse "problem"; usually means that you try to run ant
(from within eclipse) with a JRE instead of a JDK. Check what java
runtime you have configured for the project and make sure it is a
complete JDK. If you google the issue you'll find lots of handy tips.

Cheers,

Hugo

On Fri, Mar 30, 2012 at 11:01 PM, mahsa mofidpoor <mo...@gmail.com> wrote:
> Hi,
>
> After checking out the source code, I go to my eclipse workspace and
> execute "ant clean package eclipse-files", but I receive the following
> message:
>
> Unable to locate tools.jar. Expected to find it in
> /usr/lib/jvm/java-6-openjdk/lib/tools.jar
> Buildfile: build.xml does not exist!
> Build failed
>
> Actually jar.tools is in my /usr/lib/jvm/java-1.5.0-gcj-4.4/lib. Can I
> configure it to look in the former directory?
>
> Thank you in advance for your assistance,
> Mahsa



-- 
Tsune ni ite, kyu ni awasu.

Hugo
hugo@strocamp.net