aboutsummaryrefslogtreecommitdiffstats
path: root/resources/install/generic/run.sh
blob: bbc630666293299f2f98c8ec2f23107b5269b1c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
mkdir -p $HOME/.sip-communicator/log

# Get architecture
ARCH=`uname -m | sed -e s/x86_64/64/ -e s/i.86/32/`

# Additionnal JVM arguments
CLIENTARGS=""

if [ $ARCH = 32 ]
then
    CLIENTARGS="-client -Xmx256m"
fi

export PATH=$PATH:native
java $CLIENTARGS -classpath "lib/felix.jar:sc-bundles/sc-launcher.jar:sc-bundles/util.jar:lib/" -Djava.library.path=native -Dfelix.config.properties=file:./lib/felix.client.run.properties -Djava.util.logging.config.file=lib/logging.properties net.java.sip.communicator.launcher.SIPCommunicator