diff --git a/docs/running-on-mesos.md b/docs/running-on-mesos.md
index ec5a44d79212b5c7a4b9b4e0240d5df33794ed6e..5be208cf3461e9d7973ee8317b438023bde58ff1 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 <code>spark.mesos.executor.home</code>;
-    the installed path of the Mesos library can be specified with <code>spark.executorEnv.MESOS_NATIVE_LIBRARY</code>.
+    the installed path of the Mesos library can be specified with <code>spark.executorEnv.MESOS_NATIVE_JAVA_LIBRARY</code>.
   </td>
 </tr>
 <tr>