luckydonald / pbft

Implementation of the Practical Byzantine Fault Tolerant Algorithm (pbft)
https://github.com/luckydonald/pbft
GNU General Public License v3.0
135 stars 45 forks source link

Relation #13

Open zhaoyiran925 opened 4 years ago

zhaoyiran925 commented 4 years ago
 Sorry to bother you. I ran it according to readme,but it failed in the step 4.What the error showed is described in the picture.I have installed the java-8-openjdk-amd64, and the path is the same as the what showed in the error. Additionaly,I have configured the JAVA_HOME and the PATH,so the "java" command is valid.Hence, I do not know what happended,need your help.

1

iCloud17 commented 2 years ago

Hey were you able to solve the problem? I am also having this issue.

neonmike commented 2 years ago

guys ,I also have this error ! I try fix this all day ! anyone fix this ,can give me some suggestion

neonmike commented 2 years ago

the new docker images about java site is here

/usr/local/openjdk-8/bin/java

ref: https://stackoverflow.com/questions/70224668/boci-runtime-create-failed-container-linux-go380

15

details

change ARM.Dockfile file

ENTRYPOINT ["/usr/lib/jvm/java-8-openjdk-armhf/bin/java", "-jar", "target/pbft-jar-with-dependencies.jar"]

fix ENTRYPOINT ["/usr/local/openjdk-8/bin/java", "-jar", "target/pbft-jar-with-dependencies.jar"]