I have downloaded DavMail and its currently living and running from my /home/user/Downloads/DavMail
in this folder is
davmail.jar
davmail.log
davmail.sh
Lib/
I run the davmail.sh file which looks like this
BASE=`dirname $0`
for i in $BASE/lib/*; do export CLASSPATH=$CLASSPATH:$i; done
java -cp $BASE/davmail.jar:$CLASSPATH davmail.DavGateway $1
I need to put davmail in a better location than downloads but am unsure where to put it, Im guessing if I seperate some of the files/folders such as lib ill have to modify the davmail.sh file.
wheres the best location to keep this or should it remain in my home folder, I was going to put this in
/usr/local/bin
/usr/local/lib
But the jar count as a binary? the .sh certainly wouldnt.