Trying to run wallet (linux)
-
Hi I am trying to set up a linux burst miner and I am trying to get the wallet running and I am getting an error message
burstminer1@burstminer1-desktop:~/Downloads/burstcoin-1.2.8$ ./run.sh
Error: Could not find or load main class nxt.Nxt
burstminer1@burstminer1-desktop:~/Downloads/burstcoin-1.2.8$ ./compile.sh
./compile.sh: line 6: javac: command not found
burstminer1@burstminer1-desktop:~/Downloads/burstcoin-1.2.8$when I try to compile or get it running......
I am still learning a lot about linux and any help would be awesome
-
I have my pool on a ubuntu vps and all I did was upload wallet open ports 8124 8125 4443 and run sh . So it might be linux specific? What flavor are you running. Maybe someone has experience can help you. Linux mining I never tried.
-
@Oracle1 Hi!
burstminer1@burstminer1-desktop:~/Downloads/burstcoin-1.2.8$ ./run.sh
Error: Could not find or load main class nxt.NxtThis means you've downloaded the sources directly, which are missing the burst.jar file. You have to compile it yourself or download the compiled package here: https://github.com/burst-team/burstcoin/releases (zip file)
burstminer1@burstminer1-desktop:~/Downloads/burstcoin-1.2.8$ ./compile.sh
./compile.sh: line 6: javac: command not foundThis is the right command to compile but it seems you have no Java installed. Check a search engine how to install Java on your linux. Alternatively you can compile with maven - must be installed too, then:
mvn packageinstead of ./compile.sh . But java has to be installed anyways to run the binary in the end!
Good luck.
-
small steps at a time
Initializing Burst server version 1.2.8
Exception in thread "main" java.lang.ExceptionInInitializerError
Caused by: java.lang.RuntimeException: nxt-default.properties not in classpath and system property nxt-default.properties not defined either
at nxt.Nxt.<clinit>(Nxt.java:41)
burstminer1@burstminer1-desktop:~/Downloads/Wallets/burstcoin-1.2.8$
-
@Oracle1
If build with maven (like the binary release release from https://github.com/burst-team/burstcoin/releases)java -cp burst.jar:conf nxt.Nxtif build by compile script:
java -cp burst.jar:lib/*:conf nxt.NxtDifference is, if build with maven lib dir is included in jar.
Btw. you do not need to compile yourself, you can download binaries from the link above.
-
I downloaded the releases from your link that were already compiled and used them. I have tried to edit
nxt-default.propertiesburstminer1@burstminer1-desktop:~/Downloads/Wallets/burstcoin-1.2.8$ java -cp burst.jar:lib/*:conf nxt.Nxt
Initializing Burst server version 1.2.8
Exception in thread "main" java.lang.ExceptionInInitializerError
Caused by: java.lang.RuntimeException: nxt-default.properties not in classpath and system property nxt-default.properties not defined either
at nxt.Nxt.<clinit>(Nxt.java:41)
burstminer1@burstminer1-desktop:~/Downloads/Wallets/burstcoin-1.2.8$ java -cp burst.jar:conf nxt.Nxt
Initializing Burst server version 1.2.8
Exception in thread "main" java.lang.ExceptionInInitializerError
Caused by: java.lang.RuntimeException: nxt-default.properties not in classpath and system property nxt-default.properties not defined either
at nxt.Nxt.<clinit>(Nxt.java:41)
burstminer1@burstminer1-desktop:~/Downloads/Wallets/burstcoin-1.2.8$ ./run.sh
Initializing Burst server version 1.2.8
Exception in thread "main" java.lang.ExceptionInInitializerError
Caused by: java.lang.RuntimeException: nxt-default.properties not in classpath and system property nxt-default.properties not defined either
at nxt.Nxt.<clinit>(Nxt.java:41)
burstminer1@burstminer1-desktop:~/Downloads/Wallets/burstcoin-1.2.8$many thanks for your help
-
normally the default properties work always... maybe you should reset them to default state.
Check your java version is updated.
-
burstminer1@burstminer1-desktop:~/Downloads/Miners/burstcoin-jminer-0.4.9-SNAPSHOT$ file /etc/alternatives/java /etc/alternatives/javac
/etc/alternatives/java: symbolic link to /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
/etc/alternatives/javac: symbolic link to /usr/lib/jvm/java-8-openjdk-amd64/bin/javac
burstminer1@burstminer1-desktop:~/Downloads/Miners/burstcoin-jminer-0.4.9-SNAPSHOT$is this version of Java OK, Miner is opening?
-
@Oracle1 never tried it with openjdk ... i'm using the oracle implementation ... but the exceptions does not look like thats the problem, maybe it is a permission issue ...
Found this https://forums.burst-team.us/topic/3792/installing-wallet-on-ubuntu
-
Awesome that worked perfect block chain coming down the pipe now thanks all for help
is their a linux blockchain download and where would it live?
thanks again happy as been fighting with this machine all day
found burst db location
-
@Oracle1 Glad you could get it running ... it should be more easy or the instructions should be on a place where everyone can find them. I moved the topic from above to https://forums.burst-team.us/category/3/howto-s-tutorials and tagged it ... as first step.
Maybe instead of direct downloading chain, you are also interested in this:
https://forums.burst-team.us/topic/751/howto-use-opencl-gpu-for-accelerated-snyc-with-blockchain
-
already have 900m of db.zip download this will also work for linux if I put the file in burst.db?
-
@Oracle1 yes, you have to put the unzipped files in a /burst_db folder within the wallet folder, should be created already ...

