The script you ditribute with
does not work properly:
it has DOS line breaks (\r\n), which breaks the shell
identification line (#!/bin/sh), assumes that it will
be started from the SquirrelSQL directory, and assumes
that $JAVA_HOME is defined.
I've attached a fixed one, tested under Linux
GNU bash, version 2.05.8(1)