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,370 points

retagged Nov 23, 2018 by Kalgi 840 views

1 answer to this question.

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
• 26,740 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
• 17,100 points
754 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
• 69,220 points
3,953 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
• 26,740 points
1,037 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,470 views
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,370 points
2,230 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
• 26,740 points
2,527 views
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