From 3f4ed5f14a8d3b4c575f93cfeaba38be6afcc577 Mon Sep 17 00:00:00 2001 From: Sean Owen Date: Wed, 4 Mar 2015 11:08:19 +0000 Subject: [PATCH] Add warning about building with Java 7+ and running the JAR on early Java 6. --- docs/building-spark.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/building-spark.md b/docs/building-spark.md index a4b34729a7ac4..02828fb4d0a51 100644 --- a/docs/building-spark.md +++ b/docs/building-spark.md @@ -9,6 +9,9 @@ redirect_from: "building-with-maven.html" Building Spark using Maven requires Maven 3.0.4 or newer and Java 6+. +**Note:** Building Spark with Java 7 or later can create JAR files that may not be +readable with early versions of Java 6, due to the large number of files in the JAR +archive. Build with Java 6 if this is an issue for your deployment. # Setting up Maven's Memory Usage