spark-instrumented-optimizer/build
William Hyun c6555f1845 [SPARK-35887][BUILD] Find and set JAVA_HOME from javac location
### What changes were proposed in this pull request?
This PR aims to find and set JAVA_HOME from the javac location.

### Why are the changes needed?
Since SPARK-35850, maven compile fails with Java8 when there is no JAVA_HOME and `java` path is JRE java.

### Does this PR introduce _any_ user-facing change?
No.

### How was this patch tested?
Manually run mvn in vanilla ubuntu.

Closes #33075 from williamhyun/util.

Authored-by: William Hyun <william@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
2021-06-24 21:09:18 -07:00
..
mvn [SPARK-35887][BUILD] Find and set JAVA_HOME from javac location 2021-06-24 21:09:18 -07:00
sbt [SPARK-35887][BUILD] Find and set JAVA_HOME from javac location 2021-06-24 21:09:18 -07:00
sbt-launch-lib.bash [SPARK-34965][BUILD] Remove .sbtopts that duplicately sets the default memory 2021-04-06 15:16:09 -07:00
spark-build-info [SPARK-34327][BUILD] Strip passwords from inlining into build information while releasing 2021-02-03 15:02:35 +09:00
util.sh [SPARK-35887][BUILD] Find and set JAVA_HOME from javac location 2021-06-24 21:09:18 -07:00