Linux installing, run.sh java error
-
Hi,
i'm trying to install Burstcoin wallte on Linux. I followed the vids and tutorials but in the last step when running the run.sh (./run.sh) everytime got the Jave message: Error: .... couldn't be found or loaded. I can't start the wallet. In think its an Java error but don't know what to do. I'm using Mintlinux and Java 9. I did everything the tutorial told me but still i cant start the wallet with run.sh (Burstcoin Version 1.2.8).
-
@BurnMe Whats the complete error message you're getting ?
-
@BurnMe It looks like you do not have java installed
-
Did you give permission to run? chmod u+x run.sh
-
@BurnMe Install oracle java version...
-
here is a screenshot from my error, right using of chmod u+x runs.h ?
its in german, the error message is "Error: Mainclass nxt.Nxt couldn't be found or loaded"
-
@BurnMe
You need to download the release zip https://github.com/burst-team/burstcoin/releases ... not the zipped sources via 'github button'.
Or you have to compile it yourself via build script or maven. (quite sure there is no burst.jar in your burstcoin folder)
-
Yes i can see the the burst.jar in my burtscoin folder, and now what to do ?
-
@BurnMe
If burst.jar build with maven (from release download, libs included ... burst.jar ~10MB)java -cp burst.jar:conf nxt.NxtIf burst.jar build with build script (libs in lib folder ... burst.jar ~2MB)
java -cp burst.jar:lib/*:conf nxt.Nxt
-
Hi , i found the error. I don't why but the run.sh had no permission. And i solved it with "chmod a+x run.sh" as root. "chmod u+x runs.sh" was the wrong command for permission. I had to use "chmod a+x" instead of "chmod u+x". Now its running and i can go on to try and learn. Next step for me is to prepare the HDD for Burstcoinmining.
My Problem is solved and the forum gives me the hint to solve it. Thanks.I
-
@BurnMe Glad you solved it ...
Moved to Help&Support ...
-
@BurnMe chmod u+x run.sh should work, it means the user has the permission to run, if you use a+x all can execute . may be you have extracted using a another user and run with account root. Anyway glad you got it working.
-
By the way don't use root account when executing programs , its dangerous. For executing burst wallet you don't need root. No need to use su command
-
Straight forward method:
Install Java and ZIP, Download & extract wallet and give execute permission to run.sh:
sudo apt-get install default-jre zip wget https://github.com/burst-team/burstcoin/releases/download/1.2.8/burstcoin-1.2.8.zip unzip -d ~/burstcoin-1.2.8/ burstcoin-1.2.8.zip cd ~/burstcoin-1.2.8 chmod +x run.shOptional (download and extract updated BlockChain file) :
wget https://db.burst-team.us/db.zip && unzip -d ~/burstcoin-1.2.8/burst_db db.zipNow start the wallet:
cd ~/burstcoin-1.2.8/ ./run.sh



