Summary:
SQuirreL SQL cannot be started using a shortcut in the application-menu created by the .jar installer. Instead, an error is displayed:
Could not launch 'SQuirreL SQL Client'. Failed to change to directory '"/home/kmantis/SQuirreL SQL Client"' (No such file or directory).
Strange thing is, Squirrel is actually installed in the directory mentioned in the error.
If I create a new shortcut in the menu and point it to the squirrel-sql.sh file in the same directory, that home-made shortcut will work. Even if I copy-paste the path from the home-made shortcut to the installed-made shortcut, the installer-made shortcut will not work, returning the same error.
When installing Squirrel to a directory without spaces, the installed-made shortcut works.
Environment:
Ubuntu (tested on 9.04, 9.10 Alpha 6)
Squirrel 3.0.2
Java JRE 1.6.0_15
That is actually a problem of combination IzPack+Ubuntu. (IzPack is used as installer for SQuirreL).
IzPack creates file .local/share/applications/SQuirreL\ SQL\ Client*********.desktop which should contain SQuirreL's directory on property Path, but without apostrophes. For some reason IzPack adds apostrophes when the install directory contains spaces, which is probably wrong behavior.
Unfortunately in Ubuntu you can not access that Path setting with GUI (as far as I know. prove me if im wrong). You can only change it by editing that file.
Maybe upgrading IzPack to the newest version will solve the issue.