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


Thank you for your answer!
I used your javaenv image. I try the "Write your FIrst Application" tutorial for java and when I run the app after building dependencies: (mvn test for fabcar application and gradle runApp for asset-transfer-basic application) I get the error:
Exception in thread "main" java.lang.UnsatisfiedLinkError: failed to load the required native library
        at io.netty.handler.ssl.OpenSsl.ensureAvailability(
        at io.netty.handler.ssl.ReferenceCountedOpenSslContext.<init>(
        at io.netty.handler.ssl.ReferenceCountedOpenSslContext.<init>(
        at io.netty.handler.ssl.OpenSslContext.<init>(
        at io.netty.handler.ssl.OpenSslClientContext.<init>(
        at io.netty.handler.ssl.SslContext.newClientContextInternal(
        at org.hyperledger.fabric.sdk.Endpoint.<init>(
        at org.hyperledger.fabric.sdk.Endpoint.createEndpoint(
        at org.hyperledger.fabric.sdk.Peer.setTLSCertificateKeyPair(
        at org.hyperledger.fabric.sdk.Channel.addPeer(
        at org.hyperledger.fabric.gateway.impl.GatewayImpl.getNetwork(
Caused by: java.lang.IllegalArgumentException: Failed to load any of the given libraries: [netty_tcnative_linux_aarch_64, netty_tcnative_linux_aarch_64_fedora netty_tcnative_aarch_64, netty_tcnative].....................
I searched the error on google and I tried to build the netty-tcnative from source:

 git clone
 cd netty-tcnative
 cd netty-tcnative
 mvn instal

 Failed to execute goal org.fusesource.hawtjni:maven-hawtjni-plugin:1.11:build (build-native-lib) on project netty-tcnative: build failed: org.apache.maven.plugin.MojoExecutionException: Requested download does not exist.: Failure to find io.netty:netty-tcnative:zip:native-src:2.0.35.Final-SNAPSHOT in was cached in the local repository, resolution will not be reattempted until the update interval of sonatype-nexus-snapshots has elapsed or updates are forced

Any help? Does anyone have tried java application on arm architecture?
Thanks in advance.

Join to automatically receive all group messages.