bft-smart / library

BFT-SMaRt's project home page
http://bft-smart.github.io/library/
Apache License 2.0
434 stars 204 forks source link

Can't run smartrun.sh #83

Closed arcgrey closed 3 years ago

arcgrey commented 4 years ago

Hi,

I am unable to run the Counter example. I am attempting to run the Counter Demo but it isn't working. The response I get is given below. I have also given an attachment to my host file. Capture

$ runscripts/smartrun.sh bftsmart.demo.counter.CounterServer 0 Error: Could not find or load main class bftsmart.demo.counter.CounterServer

Can you please help me with this. Thankyou.

yanchovy commented 1 year ago

Hello, I have exactly the same issue and it seems I'm unable to resolve it. Could you please help? Thanks

rvassantlal commented 1 year ago

Hello, In the latest version of BFT-SMaRt, smartrun.sh script is located in the ./ folder and not in the ./runscripts folder (I have updated the readme file with the correct information). If this is not the problem, can you please give me more details? Thank you.

yanchovy commented 1 year ago

Thank you for your response. Actually for me it seems that smartrun.sh is located in the runscripts folder and I just cloned the repo today.

rvassantlal commented 1 year ago

Have you compiled the code following the instructions presented here?

yanchovy commented 1 year ago

Not yet, I thought it is possible to run that script just following the first 3 tips, since it appears right after 3rd tip in the README file

yanchovy commented 1 year ago

Alright, I compiled the code now as it has been said in the readme file, but I still get the same issue

rvassantlal commented 1 year ago

From where are you running the code? It should be from within build/install/library folder.

yanchovy commented 1 year ago

Oh okay I was running it from a different place. Thank you!