Tried running on my Ubuntu 14.04 server and got the errors below (I have MySQL 5.5, java version 1.7.0_75 and have installed libmysql-java)...
./lavagna.sh: line 54: -Ddatasource.dialect=MYSQL: command not found
./lavagna.sh: line 55: -Ddatasource.url=jdbc:mysql://localhost:3306/lavagna: No such file or directory
./lavagna.sh: line 61: -Ddatasource.username=lavagnauser: command not found
./lavagna.sh: line 54: -Ddatasource.dialect=MYSQL: command not found ./lavagna.sh: line 55: -Ddatasource.url=jdbc:mysql://localhost:3306/lavagna: No such file or directory ./lavagna.sh: line 61: -Ddatasource.username=lavagnauser: command not found