Download and Install Java SDK

Q

How to download and install Java SDK for Hyperledger Fabric?

✍: FYIcenter.com

A

You can follow this tutorial to download and install Java SDK for Hyperledger Fabric.

1. Install JDK 11:

$ sudo add-apt-repository ppa:linuxuprising/java
$ sudo apt-get update
$ sudo apt-get install oracle-java11-installer
$ java -version

java version "11.0.2" 2019-01-15 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.2+9-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.2+9-LTS, mixed mode)

When prompt with the Oracle license screen, you need to use the Tab key to select OK or Yes. Then hit Enter key continue.

2. Download Java SDK for Hyperledger Fabric:

$ git clone https://github.com/hyperledger/fabric-sdk-java.git

$ cd fabric-sdk-java

$ git checkout -b release-1.4
Switched to a new branch 'release-1.4'

2. Verify Java SDK package:

$ ls -l ~/fabric-sdk-java/

-rw-rw-r-- 1 fyicenter 26820 Apr  18 16:16 CHANGELOG.md
-rw-rw-r-- 1 fyicenter   597 Apr  18 16:16 CODE_OF_CONDUCT.md
-rw-rw-r-- 1 fyicenter   961 Apr  18 16:16 CONTRIBUTING.md
-rw-rw-r-- 1 fyicenter 11357 Apr  18 16:16 LICENSE
-rw-rw-r-- 1 fyicenter  1135 Apr  18 16:16 MAINTAINERS.md
-rw-rw-r-- 1 fyicenter 22593 Apr  18 16:16 README.md
-rw-rw-r-- 1 fyicenter  6637 Apr  18 16:16 checkstyle-config.xml
-rw-rw-r-- 1 fyicenter  4879 Apr  18 16:16 config.properties
drwxrwxr-x 2 fyicenter  4096 Apr  18 16:16 docs
-rw-rw-r-- 1 fyicenter 29248 Apr  18 16:16 pom.xml
drwxrwxr-x 2 fyicenter  4096 Apr  18 16:16 release_notes
drwxrwxr-x 2 fyicenter  4096 Apr  18 16:16 scripts
-rw-rw-r-- 1 fyicenter   736 Apr  18 16:16 settings.xml
drwxrwxr-x 5 fyicenter  4096 Apr  18 16:16 src
-rw-rw-r-- 1 fyicenter   352 Apr  18 16:16 suppressions.xml

 

Node.js SDK and Client Application

Download and Install Golang SDK

Interfaces to Communicate with Ledger Peer

⇑⇑ Hyperledger Tutorials

2020-01-21, 963🔥, 0💬