Compile and run Burst Core Wallet 2.2.1 on Linux (old H2 DB)


  • admin

    The new version of the core wallet with its different DB possibilities may be a challenge for some people with Linux.
    I spend some time with it myself and that's why I write this small tutorial for Linux user. ;)

    It's for people who can't or don't want to use this nicely maintained repo: http://package.cryptoguru.org/ .
    Hand-crafted is en vogue anyways...

    Here we go:

    Download and unzip source code from here:
    https://github.com/PoC-Consortium/burstcoin/releases

    Open the unzipped folder in Terminal and type:

    ./burst.sh compile
    

    You will get this message:

    This build method is no longer supported. Please install maven.
    https://maven.apache.org/install.html
    Do you want me to install a local copy of maven in this directory?

    Type:

    Y
    

    ... wait for Maven being completely installed.

    Then type again:

    ./burst.sh compile
    

    and wait for this Message: "[INFO] BUILD SUCCESS"

    Now it is time to change the config to the old H2 DB.
    It allows you to use the old Blockchain file from 1.2.9 and 1.3.6 Wallets and below.

    Create a new file with the filename brs.properties in the /conf folder.

    Content:

    #Using H2
    DB.Url = jdbc:h2:./burst_db/burst;DB_CLOSE_ON_EXIT=False
    DB.Username = sa
    DB.Password = sa
    

    Now go back to terminal and start Burst wallet with:

    ./burst.sh
    

    Voilá - your self-compiled version is running now.

    Feel free to share and edit this post.


  • admin

    - optional settings for 1.3.6 are obsolete now.



  • @dawallet said in Compile and run Burst Core Wallet 1.3.6cg on Linux (old H2 DB):

    java.util.logging.ConsoleHandler.level = INFO

    Nice, thanks man. I was wondering how to stop this console flood.



  • @dawallet said in Compile and run Burst Core Wallet 1.3.6cg on Linux (old H2 DB):

    The new version of the core wallet with its different DB possibilities may be a challenge for some people with Linux.
    I spend some time with it myself and that's why I write this small tutorial for Linux user. ;)

    It's for people who can't or don't want to use this nicely maintained repo: http://package.cryptoguru.org/ .
    Hand-crafted is in vogue anyways...

    Thank you for your contribution into BURST distribution.
    But... We are living in the third millennium, may be it's enough of manual labor?..

    I was trying to install BURST wallet with MariaDB following the description at http://package.cryptoguru.org/. Only the last described way was useful, but after installation BURST wallet simply does not start.

    java.sql.SQLInvalidAuthorizationSpecException: Could not connect: Access denied for user 'rabinovitch'@'localhost' (using password: NO)
    

    It looks that the wallet is trying to enter into the database using wrong credentials, but I have edited all configuration files I found with credentials which BURST wallet is trying to use, but without any success.

    There is a silence on Discord. May be someone here will help me (and the whole BURST community) to get the really working guide applicable to all fresh Ubuntu/Mint distributives?


  • admin

    Updated the tutorial for the latest 2.2.1 release.



  • @dawallet , so where can a reader find it?