Merge pull request #1848 from Issacpeng/modifyDoc

THRIFT-4933 Java build mode is incorrect in doc/install
diff --git a/doc/install/README.md b/doc/install/README.md
index e48cc4a..071a5d6 100644
--- a/doc/install/README.md
+++ b/doc/install/README.md
@@ -28,7 +28,7 @@
     * zlib (optional)
 * Java
     * Java 1.8
-    * Apache Ant
+    * Gradle
 * C#: Mono 1.2.4 (and pkg-config to detect it) or Visual Studio 2005+
 * Python 2.6 (including header files for extension modules)
 * PHP 5.0 (optionally including header files for extension modules)
diff --git a/doc/install/debian.md b/doc/install/debian.md
index 84f696e..2ccc37d 100644
--- a/doc/install/debian.md
+++ b/doc/install/debian.md
@@ -18,7 +18,7 @@
 If you would like to build Apache Thrift libraries for other programming languages you may need to install additional packages. The following languages require the specified additional packages:
 
  * Java
-	* packages: ant  
+	* packages: gradle 
 	* You will also need Java JDK v1.8 or higher. Type **javac** to see a list of available packages, pick the one you prefer and **apt-get install** it (e.g. default-jdk).
  * Ruby
 	* ruby-full ruby-dev ruby-rspec rake rubygems bundler