Fiji crashing in Yosemite 10.10

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
jni
Reply | Threaded
Open this post in threaded view
|

Fiji crashing in Yosemite 10.10

jni
Hi all,


Recently upgraded to Yosemite, and now all my Fijis crash instantly, including clean installs and running off the download image (though it's been a while since I launched Fiji so could be unrelated to the update). In case it helps here's my java info:


 ~ $ java -version
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)


and here's the full OS X error log:
https://gist.github.com/jni/5083fa78229ab0278a2e


From which the relevant lines are probably:
Dyld Error Message:
  Symbol not found: _CGContextSetAllowsAcceleration
  Referenced from: /Library/Java/JavaVirtualMachines/1.6.0_65-b14-462.jdk/Contents/Libraries/libawt.jnilib
  Expected in: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices



Any help is appreciated!


Thanks,


Juan.

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Fiji crashing in Yosemite 10.10

dscho
Hi Juan,

On Tue, 28 Oct 2014, Juan Nunez-Iglesias wrote:

> Recently upgraded to Yosemite, and now all my Fijis crash instantly,

From the full error log (thanks for providing it!) it seems as if Java6
was broken by the upgrade to Yosemite. You could you try to run Fiji with
Java7 as per http://fiji.sc/FAQ#On_OS_X.

Ciao,
Johannes

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Fiji crashing in Yosemite 10.10

lechristophe
2014-10-29 12:41 GMT+01:00 Johannes Schindelin <[hidden email]>:

>
> On Tue, 28 Oct 2014, Juan Nunez-Iglesias wrote:
>
> > Recently upgraded to Yosemite, and now all my Fijis crash instantly,
>
> From the full error log (thanks for providing it!) it seems as if Java6
> was broken by the upgrade to Yosemite. You could you try to run Fiji with
> Java7 as per http://fiji.sc/FAQ#On_OS_X.
>
>
I am using Yosemite, on Fiji first launch (as Yosemite only ships with Java
1.7) I was asked to install Java 1.6 from here:
http://support.apple.com/kb/DL1572

No problem since (well maybe a crash from time to time but not more often
than previously).
But I'd be happy to know that Fiji with 1.7 under Yosemite is usable!

Christophe

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
jni
Reply | Threaded
Open this post in threaded view
|

Re: Fiji crashing in Yosemite 10.10

jni
Hey,




Thanks everyone for your responses! Indeed, reinstalling Java 1.6 from the link suggested by Christophe fixed things. Incidentally, I also tried installing Java 1.8 from Oracle and that appears to be somewhat working as well...!




Thanks again,




Juan.

On Wed, Oct 29, 2014 at 10:57 PM, Christophe Leterrier
<[hidden email]> wrote:

> 2014-10-29 12:41 GMT+01:00 Johannes Schindelin <[hidden email]>:
>>
>> On Tue, 28 Oct 2014, Juan Nunez-Iglesias wrote:
>>
>> > Recently upgraded to Yosemite, and now all my Fijis crash instantly,
>>
>> From the full error log (thanks for providing it!) it seems as if Java6
>> was broken by the upgrade to Yosemite. You could you try to run Fiji with
>> Java7 as per http://fiji.sc/FAQ#On_OS_X.
>>
>>
> I am using Yosemite, on Fiji first launch (as Yosemite only ships with Java
> 1.7) I was asked to install Java 1.6 from here:
> http://support.apple.com/kb/DL1572
> No problem since (well maybe a crash from time to time but not more often
> than previously).
> But I'd be happy to know that Fiji with 1.7 under Yosemite is usable!
> Christophe

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Fiji crashing in Yosemite 10.10

ThiGre
Hi,

I am new here, but was running into the same problem (ImageJ asking for "legacy Java SE 6 runtime") while SE Runtime Environment (build 1.8.0_25-b17) is installed on my Yosemite

So after fumbling because I did not want to install an old Java version on top of the newer one, I got the solution

In the terminal just hit the simple command:

java -jar /Applications/ImageJ.app/Contents/Resources/Java/ij.jar

Assuming ImageJ app is in the /Application folder, else correct the path to the ij.jar file and it starts like a charm

To make launch easier, it is then convenient to copy the command inside an Automator applet which will launch ImageJ with a classical "double clic"

Here, you see ImageJ launched with Java 1.8.0_25 on Yosemite (10.10.1 build 14B23)



Hope this helps