Hyperledger Sawtooth installation JAVA_HOME: path not found

0 votes

I am trying to install Hyperledger Sawtooth and following the steps mentioned here:

https://sawtooth.hyperledger.org/docs/core/releases/1.0/app_developers_guide/ubuntu.html

But I am not able to set JAVA_HOME path.

I am doing it like this: 

"JAVA_HOME":"/usr/lib/jvm/java-1.8.0-openjdk-amd64/bin"

and reloaded the source /etc/environment.

And I also tried doing this:

export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/bin

export PATH=$PATH:/usr/lib/jvm/java-8-openjdk-amd64/bin

But its not working. Please help.

Aug 10, 2018 in Blockchain by slayer
• 29,040 points

retagged Nov 22, 2018 by Kalgi 25 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

/etc/environment is a bash script, so change the line with

"JAVA_HOME":"/usr/lib/jvm/java-1.8.0-openjdk-amd64/bin"

Then export it.

export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
answered Aug 10, 2018 by digger
• 27,620 points

Related Questions In Blockchain

0 votes
1 answer

Error during Hyperledger installation: Manifest peer latest not found

Change the tag from latest to x86_64-1.0.2 in the compose file. ...READ MORE

answered Jul 13, 2018 in Blockchain by Perry
• 16,450 points
20 views
0 votes
1 answer

Hyperledger Fabric peer command not found error.

This error occurs when the system can ...READ MORE

answered Jul 2, 2018 in Blockchain by Omkar
• 65,850 points
316 views
0 votes
1 answer
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
• 27,620 points
38 views
0 votes
1 answer
0 votes
1 answer

How to create channels in Hyperledger Sawtooth?

There are two features that I know ...READ MORE

answered Aug 9, 2018 in Blockchain by slayer
• 29,040 points
941 views
0 votes
1 answer

Hyperledger Fabric CA "Failed to get user: User not found"

The problem could be because of the ...READ MORE

answered Jul 23, 2018 in Blockchain by digger
• 27,620 points
328 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.