You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by st...@apache.org on 2013/09/14 10:01:03 UTC

svn commit: r1523190 - /hadoop/common/branches/branch-2.1-beta/BUILDING.txt

Author: stevel
Date: Sat Sep 14 08:01:03 2013
New Revision: 1523190

URL: http://svn.apache.org/r1523190
Log:
HADOOP-9350. Hadoop not building against Java7 on OSX: now applied across branch-2.1, 2 and trunk

Modified:
    hadoop/common/branches/branch-2.1-beta/BUILDING.txt

Modified: hadoop/common/branches/branch-2.1-beta/BUILDING.txt
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-2.1-beta/BUILDING.txt?rev=1523190&r1=1523189&r2=1523190&view=diff
==============================================================================
--- hadoop/common/branches/branch-2.1-beta/BUILDING.txt (original)
+++ hadoop/common/branches/branch-2.1-beta/BUILDING.txt Sat Sep 14 08:01:03 2013
@@ -149,6 +149,19 @@ Create a local staging version of the we
 
 ----------------------------------------------------------------------------------
 
+Building on OS/X
+
+----------------------------------------------------------------------------------
+
+A one-time manual step is required to enable building Hadoop OS X with Java 7
+every time the JDK is updated.
+see: https://issues.apache.org/jira/browse/HADOOP-9350
+
+$ sudo mkdir `/usr/libexec/java_home`/Classes
+$ sudo ln -s `/usr/libexec/java_home`/lib/tools.jar `/usr/libexec/java_home`/Classes/classes.jar
+
+----------------------------------------------------------------------------------
+
 Building on Windows
 
 ----------------------------------------------------------------------------------