From Snowblossom Wiki
Jump to: navigation, search

Install from Source (all platforms)

  1. Install Java 8+
    • Windows: Java 64 BIT
    • Linux OpenJDK 8+ apt-get install openjdk-8-jdk
  2. Install Bazel
  3. Download source code:
  4. Inside source directory run bazel build :all
  5. Run the Node bazel-bin/SnowBlossomNode node.conf
    • Allow the the node to download the blockchain and sync
  6. Run the Client bazel-bin/SnowBlossomClient client.conf
  7. (optional) Build Stand Alone Jar Files
bazel build \
:SnowBlossomMiner_deploy.jar \
:SnowBlossomNode_deploy.jar \
:SnowBlossomClient_deploy.jar \


bazel test ...

Fireduck's Debian Notes

Bazel install

apt-get install openjdk-8-jdk vim screen git dc dstat curl ntp 

echo "deb [arch=amd64] stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list
curl | apt-key add -

apt-get update
apt-get install bazel

To Use java11

You need java8 for bazel to work, but java11 has some performance improvements that help with mining. So you do the above to get openjdk8 and then:

apt-get install openjdk-11-jdk

And then in the .profile or whatever of the user you use to compile:

export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64

After that, java -version should show openjdk 11 and then you run the deploy jars with: java -jar.