aboutsummaryrefslogtreecommitdiff
path: root/docs/java-programming-guide.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/java-programming-guide.md')
-rw-r--r--docs/java-programming-guide.md5
1 files changed, 1 insertions, 4 deletions
diff --git a/docs/java-programming-guide.md b/docs/java-programming-guide.md
index c34eb28fc0..943fdd9d01 100644
--- a/docs/java-programming-guide.md
+++ b/docs/java-programming-guide.md
@@ -215,7 +215,4 @@ Spark includes several sample programs using the Java API in
[`examples/src/main/java`](https://github.com/apache/spark/tree/master/examples/src/main/java/org/apache/spark/examples). You can run them by passing the class name to the
`bin/run-example` script included in Spark; for example:
- ./bin/run-example org.apache.spark.examples.JavaWordCount
-
-Each example program prints usage help when run
-without any arguments.
+ ./bin/run-example JavaWordCount README.md