diff --git a/CMakeLists.txt b/CMakeLists.txt
index f0384e75775ab6a9df50f52a8f0b3cf04b96be6f..29293d8ad35f6378138e7aefbfab3e861bf986d3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -507,10 +507,6 @@ macro(nebula_link_libraries target)
 endmacro(nebula_link_libraries)
 
 if (NOT SKIP_JAVA_CLIENT)
-    if (NOT EXISTS "${NEBULA_THIRDPARTY_ROOT}/fbthrift/thrift-1.0-SNAPSHOT.jar")
-        message(FATAL_ERROR "Doesn't have thrift-1.0-SNAPSHOT.jar")
-    endif()
-    set(java-fbthrift-jar ${NEBULA_THIRDPARTY_ROOT}/fbthrift/thrift-1.0-SNAPSHOT.jar)
     set(NEBULA_CLEAN_ALL_DEPS clean-interface clean-pch clean-hbase clean-java-client)
 else()
     set(NEBULA_CLEAN_ALL_DEPS clean-interface clean-pch clean-hbase)