環境:Windows,JDK8,Git,ProtoBuf3
從github下載gPRC-Java源碼
git clone -b v1.15.0 https://github.com/grpc/grpc-java
進入grpc-java下面的examples目錄
運行gradlew.bat
gradlew.bat installDist
運行成功後,啓動hello-world-server.bat
build/install/examples/bin/hello-world-server.bat
再運行hello-world-client.bat
build/install/examples/bin/hello-world-client.bat
出現如下信息表示成功