Re: create fabric-javaenv:2.2.0 image for arm architecture #fabric-chaincode

Gari Singh <garis@...>

The issue is that a prebuilt binary for protoc-gen-grpc-java is NOT available for the Arm architecture ( ). You will need to build it yourself and install it into the local Maven repo on your build machine. There are instructions available at

Gari Singh
Distinguished Engineer, CTO - IBM Blockchain
IBM Middleware
550 King St
Littleton, MA 01460
Cell: 978-846-7499

-----fabric@... wrote: -----
To: fabric@...
From: kokolaki@...
Sent by: fabric@...
Date: 09/18/2020 04:52AM
Subject: [EXTERNAL] [Hyperledger Fabric] create fabric-javaenv:2.2.0 image for arm architecture #fabric-chaincode

Hello, I want to build hyperledger/fabric-javaenv:2.2.0 image for fabric v2.2.0 on arm architecture . I followed the instructions from repository: and when I run ./gradlew clean build install I have the following error: > Configure project :
2.2.0 Configure project :fabric-chaincode-shim Checking Licences...
All remaining files have Apache 2.0 headers Task :fabric-chaincode-protos:generateProto FAILED FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':fabric-chaincode-protos:generateProto'. Could not resolve all files for configuration ':fabric-chaincode-protos:protobufToolsLocator_grpc'. > Could not find protoc-gen-grpc-java-linux-aarch_64.exe (io.grpc:protoc-gen-grpc-java:1.23.0).
Searched in the following locations:

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at

8 actionable tasks: 5 executed, 3 up-to-date

Join to automatically receive all group messages.