aboutsummaryrefslogtreecommitdiff
path: root/bin/gnunet-dht-java
blob: a93599b96a0e4d40f3fe0c55a597ae8c145b52c4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

if [ "%GNJ_INSTALLED" = "true" ];
then
    export CLASSPATH="%INSTALL_PATH/share/java/*"
else
    DIR=`dirname $0`
    # if we are in the development environment use class files directly instead of jar
    export CLASSPATH="$DIR/../build-gradle/classes/main/:$DIR/../build-gradle/resources/main/:$DIR/../lib/*"
fi

java -ea org.gnunet.dht.DistributedHashTable "$@"