Browse Source

HADOOP-8123. Use java.home rather than env.JAVA_HOME for java in the project. Contributed by Jonathan Eagles.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1296861 13f79535-47bb-0310-9956-ffa450edef68
Arun Murthy 13 years ago
parent
commit
9f16abfd63
2 changed files with 4 additions and 1 deletions
  1. 3 0
      hadoop-common-project/hadoop-common/CHANGES.txt
  2. 1 1
      hadoop-project/pom.xml

+ 3 - 0
hadoop-common-project/hadoop-common/CHANGES.txt

@@ -333,6 +333,9 @@ Release 0.23.2 - UNRELEASED
     HADOOP-8131. FsShell put doesn't correctly handle a non-existent dir
     HADOOP-8131. FsShell put doesn't correctly handle a non-existent dir
     (Daryn Sharp via bobby)
     (Daryn Sharp via bobby)
 
 
+    HADOOP-8123. Use java.home rather than env.JAVA_HOME for java in the
+    project. (Jonathan Eagles via acmurthy) 
+
 Release 0.23.1 - 2012-02-17 
 Release 0.23.1 - 2012-02-17 
 
 
   INCOMPATIBLE CHANGES
   INCOMPATIBLE CHANGES

+ 1 - 1
hadoop-project/pom.xml

@@ -853,7 +853,7 @@
           <artifactId>jdk.tools</artifactId>
           <artifactId>jdk.tools</artifactId>
           <version>1.6</version>
           <version>1.6</version>
           <scope>system</scope>
           <scope>system</scope>
-          <systemPath>${env.JAVA_HOME}/lib/tools.jar</systemPath>
+          <systemPath>${java.home}/../lib/tools.jar</systemPath>
         </dependency>
         </dependency>
       </dependencies>
       </dependencies>
     </profile>
     </profile>