gRPC-Java入门笔记 原

环境: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

出现如下信息表示成功

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章