From general-return-1175-apmail-hadoop-general-archive=hadoop.apache.org@hadoop.apache.org Mon Mar 08 18:32:20 2010 Return-Path: Delivered-To: apmail-hadoop-general-archive@minotaur.apache.org Received: (qmail 29429 invoked from network); 8 Mar 2010 18:32:19 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 8 Mar 2010 18:32:19 -0000 Received: (qmail 77314 invoked by uid 500); 8 Mar 2010 18:31:54 -0000 Delivered-To: apmail-hadoop-general-archive@hadoop.apache.org Received: (qmail 77249 invoked by uid 500); 8 Mar 2010 18:31:54 -0000 Mailing-List: contact general-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: general@hadoop.apache.org Delivered-To: mailing list general@hadoop.apache.org Received: (qmail 77241 invoked by uid 99); 8 Mar 2010 18:31:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Mar 2010 18:31:54 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of awittenauer@linkedin.com designates 69.28.149.25 as permitted sender) Received: from [69.28.149.25] (HELO esv4-mav03.corp.linkedin.com) (69.28.149.25) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Mar 2010 18:31:52 +0000 DomainKey-Signature: s=prod; d=linkedin.com; c=nofws; q=dns; h=X-IronPort-AV:Received:User-Agent:Date:Subject:From:To: Message-ID:Thread-Topic:Thread-Index:In-Reply-To: Mime-version:Content-type:Content-transfer-encoding; b=rpH8xmZzta+ryKQ4yvcCyvsTY6duS9wp8c+RHv90wsOCPQI3qGeWLQLh dasKJHGcI+dZoqeBZ5WTl6oY+oIvWTAphHWKQzR8BdTpa2SlUNLCcK7h0 7JKWPjapfzubKYp; DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=linkedin.com; i=awittenauer@linkedin.com; q=dns/txt; s=proddkim; t=1268073112; x=1299609112; h=from:sender:reply-to:subject:date:message-id:to:cc: mime-version:content-transfer-encoding:content-id: content-description:resent-date:resent-from:resent-sender: resent-to:resent-cc:resent-message-id:in-reply-to: references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:list-owner:list-archive; z=From:=20Allen=20Wittenauer=20 |Subject:=20Re:=20Compilation=20failed=20when=20compile =20hadoop=20common=20release-0.20.2|Date:=20Mon,=2008=20M ar=202010=2010:30:30=20-0800|Message-ID:=20|To:=20|Mime-version:=201.0|Content-transfer-encoding:=207bit |In-Reply-To:=20<673653.27493.qm@web37907.mail.mud.yahoo. com>; bh=v0uv4/IM/LKe8GWKcVKRSz42WlTPuf+j3KngmFCu8R8=; b=SYVeRTt1J4Oct4Huao9xHi1HQDuBdwP0Z1ExKzrSc0bBz/y7JpU2uyN/ vXLbpBjOfW5nQHzHtGt/Ve04+U6Je2oIu/N4LYm8HiarXpKXyAuZO2h0r n4n0cRsGDLgeqRy; X-IronPort-AV: E=Sophos;i="4.49,603,1262592000"; d="scan'208";a="11254961" Received: from 172.16.19.141 ([172.16.19.141]) by CORP-MAIL.linkedin.biz ([172.18.46.135]) via Exchange Front-End Server mail-access.linkedin.biz ([172.18.46.133]) with Microsoft Exchange Server HTTP-DAV ; Mon, 8 Mar 2010 18:30:32 +0000 User-Agent: Microsoft-Entourage/12.10.0.080409 Date: Mon, 08 Mar 2010 10:30:30 -0800 Subject: Re: Compilation failed when compile hadoop common release-0.20.2 From: Allen Wittenauer To: Message-ID: Thread-Topic: Compilation failed when compile hadoop common release-0.20.2 Thread-Index: Acq+7W5Ei0yddHnQFky5zH/Mc9+YWg== In-Reply-To: <673653.27493.qm@web37907.mail.mud.yahoo.com> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit On 3/8/10 10:06 AM, "Gary Yang" wrote: > Hi Owen, > > Thanks for the reply. From the link you provided, I found the build > instruction. I do not understand the option, "-Djava5.home=/usr/local/jdk1.5". > Does it mean I have to use JDK 1.5? I read somewhere it suggested to use JDK > 1.6. JDK 1.5 is required to build the documentation. JDK1.6 is used everywhere else. So it uses the java5.home setting to kick off forrest without upsetting the JAVA_HOME env var.