SQirreL refuses to start on macOS 10.12.6
A Java SQL client for any JDBC compliant database
Brought to you by:
colbell,
gerdwagner
when I try the script squirrel-sql.sh from the command line I get an error stating that it can not find JavaVersionChecker. The offending line is
and, since that there is no "lib" folder under MacOS (where this script is) is this error not surprising.
Hi, i think this is resolved in 3.8.1? Which version did you use? I fixed a similar error by either putting the jar where needed or adapting the script, canot recall in detail. But when i recently installed 3.8.1 i did not have that issue on 10.13.4 any more
Hi, this issue is still present in the build 3.9.1. on macOS 10.13.6 (17G7024).
First thx to the developpers to keep up with this amazing tool and it's free. So kudos to them :)
The issue is in the script
squirrel-sql.shlocated in/Applications/SQuirreLSQL.app/Contents/MacOSthat sets the wrong path to 2 jars and the lib directory.To fix the issue find the lines and change the paths to these below:
Et voila!
Happy SQuirreLSQLing!
I tried the patch, i.e., I edited the shell script file within the
application according to Johnny’s suggestion and now it works.
K
På 27 maj 2019 kl. 21:42:42, Gerd Wagner (gerdwagner@users.sourceforge.net)
skrev:
Diff:
Johnny, thank you for your changes.
Since I don't have access to a Mac, could another Mac user please verify
Johnny's changes.
For convenience I attached the scripts with the changes.
Gerd
** [bugs:#1343] SQirreL refuses to start on macOS 10.12.6**
Status: open
Group: 3.9.0
Labels: macOS
Created: Wed May 23, 2018 02:33 PM UTC by Karl-Koenig Koenigsson
Last Updated: Sun May 26, 2019 08:44 AM UTC
Owner: nobody
Attachments:
(4.4 kB; application/x-shellscript)
(3.9 kB; application/x-shellscript)
I downloaded SQuirreL today but it refuses to launch. I double click on it,
it appears and the disappears from the Dock. That is all. Nothing in the
syslog.
I am on macOS 10.12.6 and on a MacBook Pro 2017 fairly maxed out. "java
-version" output is
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)
Sent from sourceforge.net because you indicated interest in <
https://sourceforge.net/p/squirrel-sql/bugs/1343/>
To unsubscribe from further messages, please visit <
https://sourceforge.net/auth/subscriptions/>
Related
Bugs: #1343
Johnny, thank you for your changes.
Since I don't have access to a Mac, could another Mac user please verify Johnny's changes.
For convenience I attached the scripts with the changes.
Gerd
I tried the script posted on macOS 10.14.5 and it works, though I had to allow Java 12 (which I have installed)
"$JAVACMD" -cp "$UNIX_STYLE_HOME/../Resources/Java/lib/versioncheck.jar" JavaVersionChecker 1.8 9 10 11changed to
"$JAVACMD" -cp "$UNIX_STYLE_HOME/../Resources/Java/lib/versioncheck.jar" JavaVersionChecker 1.8 9 10 11 12Thanks a lot. Johnny's changes are committed to our GIT repository and will be available in future snapshots and versions.