diff --git a/docs/running-on-mesos.md b/docs/running-on-mesos.md
index ec5a44d79212b..5be208cf3461e 100644
--- a/docs/running-on-mesos.md
+++ b/docs/running-on-mesos.md
@@ -278,7 +278,7 @@ See the [configuration page](configuration.html) for information on Spark config
Set the name of the docker image that the Spark executors will run in. The selected
image must have Spark installed, as well as a compatible version of the Mesos library.
The installed path of Spark in the image can be specified with spark.mesos.executor.home;
- the installed path of the Mesos library can be specified with spark.executorEnv.MESOS_NATIVE_LIBRARY.
+ the installed path of the Mesos library can be specified with spark.executorEnv.MESOS_NATIVE_JAVA_LIBRARY.