11# Hyperledger Fabric Shim for Java chaincode
22
33This is a Java based implementation of Hyprledger Fabric chaincode shim APIs, which enables development of chaincodes using Java language.
4- The following instructions are intended for a contributor or early adopter that needs to
5- be able to build and test the Java chaincode shim, docker image and protobuf artifacts.
64
75Application developers interested in developing smart contracts (what we call chaincode) for Hyperledger Fabric should
86read the tutorial in TUTORIAL.md file and visit
97` Chaincode for developers <https://hyperledger-fabric.readthedocs.io/en/latest/chaincode4ade.html> ` __ .
108
9+ Contributors or early adopters who need to be able to build and test recent Java chaincode shim, should reference [ FAQ.md] ( FAQ.md ) file.
10+
1111This project creates ` fabric-chaincode-protos ` and ` fabric-chaincode-shim ` jar
1212files for developers consumption and the ` hyperledger/fabric-javaenv ` docker image
1313to run Java chaincode.
@@ -24,27 +24,4 @@ The "fabric-chaincode-docker" folder contains instructions to the build
2424` hyperledger/fabric-javaenv ` docker image.
2525
2626The "fabric-chaincode-example-gradle" contains an example java chaincode gradle
27- project that includes sample chaincode and basic gradle build instructions.
28-
29- ## Prerequisites
30- * Java 8
31- * gradle 4.4
32-
33- ## Build shim
34-
35- Clone the fabric shim for java chaincode repo.
36-
37- ```
38- git clone https://github.com/hyperledger/fabric-chaincode-java.git
39- ```
40-
41- Build and install java shim jars (proto and shim jars).
42- ```
43- cd fabric-chaincode-java
44- gradle clean build install
45- ```
46-
47- Build javaenv docker image, to have it locally.
48- ```
49- gradle buildImage
50- ```
27+ project that includes sample chaincode and basic gradle build instructions.
0 commit comments