Skip to content

Commit 77ff3f4

Browse files
typhoonzeroshendiaomo
authored andcommitted
fix install java protoc (#1720)
1 parent 11f28f3 commit 77ff3f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/docker/install-java.bash

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ set -e
1717

1818
apt-get -qq update && apt-get install -y openjdk-8-jdk maven > /dev/null
1919

20-
# Install gRPC for Java as a protobuf-compiler plugin. c.f. https://stackoverflow# .com/a/53982507/724872.
21-
wget -q http://central.maven.org/maven2/io/grpc/protoc-gen-grpc-java/1.21.0/protoc-gen-grpc-java-1.21.0-linux-x86_64.exe
20+
# Install gRPC for Java as a protobuf-compiler plugin. c.f. https://stackoverflow.com/a/53982507/724872.
21+
wget -q https://repo1.maven.org/maven2/io/grpc/protoc-gen-grpc-java/1.21.0/protoc-gen-grpc-java-1.21.0-linux-x86_64.exe --no-check-certificate
2222
mv protoc-gen-grpc-java-1.21.0-linux-x86_64.exe /usr/local/bin/protoc-gen-grpc-java
2323
chmod +x /usr/local/bin/protoc-gen-grpc-java
2424

0 commit comments

Comments
 (0)