Having issues with Mac Install: Solution!

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Having issues with Mac Install: Solution!

Sunderlin, Mark
In  Squirrel-sql-users Digest, Vol 93, Issue 7, [hidden email] (I) wrote:
----------------------------------------------------------------------
>In Squirrel-sql-users Digest, Vol 93, Issue 6, Brenda Bell <[hidden email]> wrote:
>>I previously installed 3.5.0 and it was working. I downloaded the 3.5.2 installer, installed it and it won?t launch ? double-click the app, the icon pops up and the app immediately shuts down.
>>I'm installing on Mac OS X 10.8.5. There are messages in my console that say this:
>No ideas, but I am having the exact same issue.  I ran squirrel.sh directly from the terminal and here is the java exception I got:

I had installed JRE 1,7, as squirrel calls for, but it seems the JRE 1.7 install doesn't properly update the link, /usr/bin/java, to the new 1.7 java binary.  It is now in a different directory from where the 1.6 binary is installed, but even after installing JRE 1.7, /usr/bin/java still points to 1.6.  A 'java --version' returns 1.6, even though the java console shows 1.7 installed.  This link has a more detailed explanation of the how JRE 1.7 got it wrong and has several ideas on how to hack a fix: http://stackoverflow.com/questions/12757558/installed-java-7-on-mac-os-x-but-terminal-is-still-using-version-6 .

However, my simpler fix was to update from JRE 1.7 to JDK 1.8 and all is well. (That is, JDK 1.8 properly updated the link at /usr/bin/java to point to the 1.8 java binary).  Squirrel runs just fine now!

p.s. No, I don't know if just installing the 1.8 JRE will also fix.  I lave that as an exercise for the reader. :-)
--
Mark E. Sunderlin
Data Architect // AOL Platforms
P: 703-265-6935 // C: 540-327-6222 // 22000 AOL Way,  Dulles, VA  20166
AIM: MESunderlin

------------------------------------------------------------------------------
_______________________________________________
Squirrel-sql-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/squirrel-sql-users