I'm running OS X 10.14.2, and I am receiving the "To open Fiji you need to install the legacy Java SE 6 runtime" message each time I start. I installed Fiji using the bundled version from https://imagej.net/Fiji/Downloads. Separately, I also tried installing the Java 8 runtime and the nojre version (which gave the same result).
Strangely, a different machine, also running Mojave, worked fine. Are there suggestions for troubleshooting this problem? Thanks, Kevin -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
> On Feb 11, 2019, at 10:18 AM, Kevin Middleton <[hidden email]> wrote:
> > I'm running OS X 10.14.2, and I am receiving the "To open Fiji you need to install the legacy Java SE 6 runtime" message each time I start. I installed Fiji using the bundled version from https://imagej.net/Fiji/Downloads. Separately, I also tried installing the Java 8 runtime and the nojre version (which gave the same result). > > Strangely, a different machine, also running Mojave, worked fine. > > Are there suggestions for troubleshooting this problem? I suspect you are running into the dreaded macOS Path Randomization problem. https://weblog.rogueamoeba.com/2016/06/29/sierra-and-gatekeeper-path-randomization/ Path Randomization is in effect if “ImageJ home:” starts with "/private/var/folders/“ in the “Info” window opened by typing “i” (Image>Show Info) with no images open. The work around for this problem is to drag Fiji.app to another folder and (optionally) to drag it back. -wayne -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Indeed moving the .app out of Applications and back in seems to have fixed
it. Thanks for your help. -- Sent from: http://imagej.1557.x6.nabble.com/ -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
In reply to this post by Wayne Rasband-2
Hi all,
Just a note for the archives: this issue is also being discussed on the forum here: https://forum.image.sc/t/java-6-required-on-mac-install-fiji/23093 Regards, Curtis -- Curtis Rueden LOCI software architect - https://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden Have you tried the Image.sc Forum? https://forum.image.sc/ On Mon, Feb 11, 2019 at 2:36 PM kmiddleton <[hidden email]> wrote: > Indeed moving the .app out of Applications and back in seems to have fixed > it. Thanks for your help. > > > > -- > Sent from: http://imagej.1557.x6.nabble.com/ > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Hi,
I stumbled about the same problem. Using a terminal I could manually start fiji by Using /Applications/Fiji.app/Contents/MacOS/ImageJ-macosx it complained about a Version 1.8 Java not being available but it started anyway. out of curiosity I started /Applications/Fiji.app/Contents/MacOS/ImageJ-tiger which fired the above error message about a Java6 needing to be installed. Looking into Info.plist I found that the first key CFBundleExecutable was set to ImageJ-tiger <key>CFBundleExecutable</key> <string>ImageJ-tiger</string> using the good old vi, I changed ImageJ-tiger to ImageJ-macosx in Info.plist and - after moving the Fiji App once out of Applications and back in - Fiji started. This might be a workaround for Mojave… Cheers Stefan -- Sent from: http://imagej.1557.x6.nabble.com/ -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
My Info.plist for Fiji.App on Mojave looks different. I do not have the
problems reported here. I am attaching a PNG file of the Info.plist in XCode to help document the differences. My application was updated last night... Hope this help, John On Wed, Apr 24, 2019 at 4:06 AM SMuenkner <[hidden email]> wrote: > Hi, > > I stumbled about the same problem. Using a terminal I could manually start > fiji by Using > > /Applications/Fiji.app/Contents/MacOS/ImageJ-macosx > > it complained about a Version 1.8 Java not being available but it started > anyway. > > out of curiosity I started > > /Applications/Fiji.app/Contents/MacOS/ImageJ-tiger > > which fired the above error message about a Java6 needing to be installed. > > Looking into Info.plist I found that the first key CFBundleExecutable was > set to ImageJ-tiger > > <key>CFBundleExecutable</key> > <string>ImageJ-tiger</string> > > using the good old vi, I changed ImageJ-tiger to ImageJ-macosx in > Info.plist > and - after moving the Fiji App once out of Applications and back in - Fiji > started. This might be a workaround for Mojave… > > Cheers > Stefan > > > > > -- > Sent from: http://imagej.1557.x6.nabble.com/ > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > ImageJ mailing list: http://imagej.nih.gov/ij/list.html Info-plist.png (272K) Download Attachment |
In reply to this post by SMuenkner
Hi Stefan, John, everyone,
Thanks very much Stefan for noticing the Info.plist discrepancy! John, the reason your Info.plist is different is because the version shipped via the update site indeed has ImageJ-macosx (a working launcher) rather than ImageJ-tiger (the one causing the "legacy Java 6" error). So if you manage to update your Fiji, it will no longer suffer from this issue. But a freshly downloaded Fiji will—as of this writing—reference the wrong launcher, and therefore not be able to be started, and therefore not be able to be updated. Please use the forum for any additional conversation and to track progress on the fix: https://forum.image.sc/t/java-6-required-on-mac-install-fiji/23093/15 Regards, Curtis -- Curtis Rueden LOCI software architect - https://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden Have you tried the Image.sc Forum? https://forum.image.sc/ On Wed, Apr 24, 2019 at 8:40 AM John Minter <[hidden email]> wrote: > My Info.plist for Fiji.App on Mojave looks different. I do not have the > problems reported here. I am attaching a PNG file of the Info.plist in > XCode to help document the differences. My application was updated last > night... > > Hope this help, > John > > On Wed, Apr 24, 2019 at 4:06 AM SMuenkner <[hidden email] > > > wrote: > > > Hi, > > > > I stumbled about the same problem. Using a terminal I could manually > start > > fiji by Using > > > > /Applications/Fiji.app/Contents/MacOS/ImageJ-macosx > > > > it complained about a Version 1.8 Java not being available but it started > > anyway. > > > > out of curiosity I started > > > > /Applications/Fiji.app/Contents/MacOS/ImageJ-tiger > > > > which fired the above error message about a Java6 needing to be > installed. > > > > Looking into Info.plist I found that the first key CFBundleExecutable was > > set to ImageJ-tiger > > > > <key>CFBundleExecutable</key> > > <string>ImageJ-tiger</string> > > > > using the good old vi, I changed ImageJ-tiger to ImageJ-macosx in > > Info.plist > > and - after moving the Fiji App once out of Applications and back in - > Fiji > > started. This might be a workaround for Mojave… > > > > Cheers > > Stefan > > > > > > > > > > -- > > Sent from: http://imagej.1557.x6.nabble.com/ > > > > -- > > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > > > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Free forum by Nabble | Edit this page |