环境: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
出现如下信息表示成功