bisq/doc/install_on_unix_fin.sh
Chris Beams 9d4e015108
Use app scripts instead of fat excutable jars
It doesn't actually work to build fat executable jars because we always
have bouncycastle jars that need to exist outside of the fat jar. This
change drops building fat jars altogether in favor of using Gradle's
built-in `application` plugin to write simple scripts that invoke java
with the correct classpath against a directory of all dependencies
(including bouncycastle) without the need to have a fat jar in the mix.

Essentially, you should now run:

    ./gradlew build
    ./build/app/bin/bisq-desktop [options]

Instead of `java -jar build/libs/bisq-desktop.jar`.

See updated doc/build.md for details.
2018-03-22 02:41:25 +01:00

21 lines
438 B
Bash
Executable file

#!/bin/sh
sudo -i
JAVA_HOME=/usr/lib/jvm/java-8-oracle
# Before running the second part edit $JAVA_HOME/jre/lib/security/java.security file
# add line: security.provider.10=org.bouncycastle.jce.provider.BouncyCastleProvider
# and add JAVA_HOME to .bashrc
# export JAVA_HOME=/usr/lib/jvm/java-8-oracle
echo "Install bisq"
cd ~/bisq
./gradlew build
cd ..
mkdir .local
mkdir .local/share
echo "Start Bisq"
./build/app/bin/bisq-desktop