Login  Register

Re: ImageJ does not run on Mac OS X 10.10 with Java 8

Posted by jnkath on Feb 16, 2015; 8:09pm
URL: http://imagej.273.s1.nabble.com/ImageJ-does-not-run-on-Mac-OS-X-10-10-with-Java-8-tp5011607p5011622.html

Hi Mark,
thank you very much for your response to my question. Michael provided a workaround that fixed the issue for me (running "ij.jar" directly instead of running "ImageJ64.app").

Still, opening the "ImageJ64.app" file results in this error:

'To open "ImageJ64.app" you need to install the legacy Java SE 6 runtime. Click "More Info..." to visit the legacy Java SE 6 download website.'

I have Java Version 8 Update 31 (build 1.8.0_31-b15) and ImageJ 1.48 from http://rsb.info.nih.gov/ij/download/osx/ImageJ148.zip installed. As far as I can tell, I do not have Java Version 6 installed.

When using Fiji continuous release from
http://jenkins.imagej.net/job/Stable-Fiji-MacOSX/lastSuccessfulBuild/artifact/fiji-macosx.dmg, the same error pops up when running "Fiji.app".

Like you suggested, I replaced "jars/imagej-launcher-3.1.6" with the file you indicated ("imagej-launcher-3.3.0"), but this did NOT fix the issue: when trying to run "Fiji.app", the same error popped up:

'To open "Fiji" you need to install the legacy Java SE 6 runtime. Click "More Info..." to visit the legacy Java SE 6 download website.'

Best regards,
Jakob


Mark Hiner wrote
 If you have a Yosemite mac WITHOUT Java 6 installed, could you try
replacing the jars/imagej-launcher-xxx.jar in your Fiji with this version:
http://jenkins.imagej.net/job/ImageJ-launcher/label=MacOSX/1205/artifact/target/imagej-launcher-3.3.0.jar

 This release of the ImageJ-launcher has fixes that are supposed to remove
the need for Java 6, but is not a part of Fiji yet because it's not well
tested. If you can confirm that it fixes the problem for you that would be
fantastic.