After installing the 3.8.0-version on my Mac, it fails to start with a
message:
Error: Could not find or load main class JavaVersionChecker
This is caused by the squirrel-sql.sh script attempting to set
SQUIRREL_SQL_HOME to `dirname "$0"`/Contents/Resources/Java. Since the
script is located in /Applications/SQuirreLSQL.app/Contents/MacOS/, this
will produce the invalid path
/Applications/SQuirreLSQL.app/Contents/MacOS/Contents/Resources/Java.
The rest of the code ends up trying to locate versioncheck.jar in
/Applications/SQuirreLSQL.app/Contents/MacOS/lib/
The simple solution is to use ln in /Applications/SQuirreLSQL.app:
/Applications/SQuirreLSQL.app$ ln -s Contents/MacOS/squirrel-sql.sh
But I guess a better solution is to fix the script so it actually finds
the lib-folder.
Regards,
Martin Larsson
|