macossquirrel-sql

Launching Squirrel SQL client on Mac OS


I am Launching SQuirrel SQL on Mac OS X(El Capitan) that has JDK1.8 on it produces an error message saying the JDK-version should be at least 1.6. It then quits. SQL client version is 3.7. How do I resolve this?


Solution

  • I ran into similar issue and the following change fixed the issue. Open the Application Folder in finder and open the App Package Contents and navigate to Contents/MacOS/. Open the squirrel-sql.sh file and update the value of "SQUIRREL_SQL_HOME" around line 56.

    Out of box, the value would be

    SQUIRREL_SQL_HOME=`dirname "$0"`/Contents/Resources/Java

    Update this to

    SQUIRREL_SQL_HOME='/Applications/SQuirreLSQL.app/Contents/Resources/Java'

    Thanks to https://sourceforge.net/p/squirrel-sql/bugs/1232/#6bc6