run.sh 266 Bytes
Newer Older
1 2 3 4
#!/bin/bash
MACHINE_TYPE=`uname -m`
if [ ${MACHINE_TYPE} == 'x86_64' ]; then
    echo Executing 64 bit version
5
    LD_LIBRARY_PATH=linux64 java -Xmx1024M -jar ttt.jar
6 7
else
    echo Executing 32 bit version
8
    LD_LIBRARY_PATH=linux32 java -Xmx1024M -jar ttt.jar
9 10
fi