HADOOP-9350. Hadoop not building against Java7 on OSX
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1522867 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
965ce2041a
commit
4857e76579
@ -153,9 +153,13 @@ Building on OS/X
|
|||||||
|
|
||||||
----------------------------------------------------------------------------------
|
----------------------------------------------------------------------------------
|
||||||
|
|
||||||
Hadoop does not build on OS/X with Java 7.
|
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
|
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
|
Building on Windows
|
||||||
|
@ -56,6 +56,21 @@
|
|||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</profile>
|
</profile>
|
||||||
|
<profile>
|
||||||
|
<id>jdk1.7</id>
|
||||||
|
<activation>
|
||||||
|
<jdk>1.7</jdk>
|
||||||
|
</activation>
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>jdk.tools</groupId>
|
||||||
|
<artifactId>jdk.tools</artifactId>
|
||||||
|
<version>1.7</version>
|
||||||
|
<scope>system</scope>
|
||||||
|
<systemPath>${java.home}/../lib/tools.jar</systemPath>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
</profile>
|
||||||
</profiles>
|
</profiles>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
@ -363,6 +363,9 @@ Release 2.3.0 - UNRELEASED
|
|||||||
|
|
||||||
HADOOP-9908. Fix NPE when versioninfo properties file is missing (todd)
|
HADOOP-9908. Fix NPE when versioninfo properties file is missing (todd)
|
||||||
|
|
||||||
|
HADOOP-9350. Hadoop not building against Java7 on OSX
|
||||||
|
(Robert Kanter via stevel)
|
||||||
|
|
||||||
Release 2.1.1-beta - UNRELEASED
|
Release 2.1.1-beta - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
Loading…
Reference in New Issue
Block a user