Can not make a peer in Hyperledger Fabric

0 votes

I am trying to make a peer using make peer command but when I run this, I am getting the following error:

update-java-alternatives: directory does not exist: /usr/lib/jvm/java-1.8.0-openjdk-amd64
The command '/bin/sh -c core/chaincode/shim/java/javabuild.sh' returned a non-zero code: 1
Makefile:217: recipe for target 'build/image/javaenv/.dummy' failed
make: *** [build/image/javaenv/.dummy] Error 1

How to solve this?

Nov 22, 2018 in Blockchain by digger
• 26,740 points
411 views

1 answer to this question.

0 votes

You have not installed jdk on your system. You can install it using this:

sudo apt-get install default-jdk-headless

answered Nov 22, 2018 by Omkar
• 69,210 points

Related Questions In Blockchain

0 votes
1 answer
0 votes
1 answer

How to join a peer to a channel in Hyperledger Fabric?

When you run the command: peer channel create ...READ MORE

answered Jul 31, 2018 in Blockchain by digger
• 26,740 points
1,887 views
0 votes
1 answer

Can we set a list of discovery nodes in Hyperledger fabric?

New nodes doesn't depend on a single ...READ MORE

answered Sep 19, 2018 in Blockchain by Christine
• 15,790 points
747 views
+4 votes
2 answers

How do I create a new block in Hyperledger Fabric?

This link might help you: https://github.com/hyperledger/fabric-sample ...READ MORE

answered Oct 11, 2018 in Blockchain by Sahu
2,316 views
0 votes
1 answer

Hyperledger Sawtooth vs Quorum in concurrency and speed Ask

Summary: Both should provide similar reliability of ...READ MORE

answered Sep 26, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
1,211 views
0 votes
1 answer

Invalid Batch or signature in Savtooth

This will solve your problem import org.apache.commons.codec.binary.Hex; Transaction txn ...READ MORE

answered Aug 1, 2018 in Blockchain by digger
• 26,740 points
704 views
+1 vote
1 answer

Hyperledger network roles assigned to peer nodes.

In a hyperledger fabric network transactions are ...READ MORE

answered Apr 4, 2018 in Blockchain by Christine
• 15,790 points
1,066 views
0 votes
1 answer

Hyperledger Fabric: Kafka can not establish a connection

Try this:  kafka1.hyperfabric.xyz: image: hyperledger/fabric-kafka restart: ...READ MORE

answered Nov 9, 2018 in Blockchain by Omkar
• 69,210 points
1,334 views
+15 votes
5 answers
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP