Hi,
I've recently upgraded my mac's operating system to the most recent 10.11.6 El Capitan. As a result, I noticed that Fiji was automatically updated to Java 8. I wanted to get a version of Fiji which is bundeled with Java 6. When I went to the following site: https://imagej.net/Fiji/Downloads I looked for: "The transition towards Java 8 is in progress <https://imagej.net/2015-12-22_-_The_road_to_Java_8>. The packages below offer a version of Fiji that still works with Java 6." When I chose either "All platforms" or OSX, what I got was not what I wanted - Fiji was downloaded bundeled with Java 8. Does anyone know how I can get Fiji with Java 6 to work on El Capitan? Thanks, Avital -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Hi Avital,
In general, see this guide: http://imagej.net/2016-05-10_-_ImageJ_HOWTO_-_Java_8,_Java_6,_Java_3D The simplest solution is to uninstall Java 7 and/or 8. Then the ImageJ Launcher will use Java 6. If you need to keep Java 7/8 installed for some reason, then you can try creating a shell script like: #!/bin/sh export J6="$(/usr/libexec/java_home -v 1.6 | head -n1)" export IJ_HOME=/Applications/Science/Fiji-Life-Line-2014-06.app $J6/bin/$($IJ_HOME/Contents/MacOS/ImageJ-macosx --dry-run | perl -pe 's/ -Djava.ext.dirs=.*? -D/ -D/') Change IJ_HOME to the location of your Java-6-compatible Fiji installation, of course. Sorry that running with Java 6 is not easier. One reason is that we cannot bundle Apple Java 6 with Fiji, due to Apple's licensing restrictions. Regards, Curtis -- Curtis Rueden LOCI software architect - http://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer - http://imagej.net/User:Rueden Did you know ImageJ has a forum? http://forum.imagej.net/ On Tue, Dec 27, 2016 at 11:33 AM, Avital Steinberg < [hidden email]> wrote: > Hi, > I've recently upgraded my mac's operating system to the most recent 10.11.6 > El Capitan. As a result, I noticed that Fiji was automatically updated to > Java 8. I wanted to get a version of Fiji which is bundeled with Java 6. > > When I went to the following site: > > https://imagej.net/Fiji/Downloads > > I looked for: > "The transition towards Java 8 is in progress > <https://imagej.net/2015-12-22_-_The_road_to_Java_8>. The packages below > offer a version of Fiji that still works with Java 6." > > When I chose either "All platforms" or OSX, what I got was not what I > wanted - Fiji was downloaded bundeled with Java 8. Does anyone know how I > can get Fiji with Java 6 to work on El Capitan? > > Thanks, > Avital > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Hi Avital,
I forgot to mention the other URL where this is discussed: http://imagej.net/Frequently_Asked_Questions#On_OS_X Regards, Curtis -- Curtis Rueden LOCI software architect - http://loci.wisc.edu/software ImageJ2 lead, Fiji maintainer - http://imagej.net/User:Rueden Did you know ImageJ has a forum? http://forum.imagej.net/ On Tue, Dec 27, 2016 at 11:46 AM, Curtis Rueden <[hidden email]> wrote: > Hi Avital, > > In general, see this guide: > http://imagej.net/2016-05-10_-_ImageJ_HOWTO_-_Java_8,_Java_6,_Java_3D > > The simplest solution is to uninstall Java 7 and/or 8. Then the ImageJ > Launcher will use Java 6. > > If you need to keep Java 7/8 installed for some reason, then you can try > creating a shell script like: > > #!/bin/sh > export J6="$(/usr/libexec/java_home -v 1.6 | head -n1)" > export IJ_HOME=/Applications/Science/Fiji-Life-Line-2014-06.app > $J6/bin/$($IJ_HOME/Contents/MacOS/ImageJ-macosx --dry-run | perl -pe > 's/ -Djava.ext.dirs=.*? -D/ -D/') > > Change IJ_HOME to the location of your Java-6-compatible Fiji > installation, of course. > > Sorry that running with Java 6 is not easier. One reason is that we cannot > bundle Apple Java 6 with Fiji, due to Apple's licensing restrictions. > > Regards, > Curtis > > -- > Curtis Rueden > LOCI software architect - http://loci.wisc.edu/software > ImageJ2 lead, Fiji maintainer - http://imagej.net/User:Rueden > Did you know ImageJ has a forum? http://forum.imagej.net/ > > > On Tue, Dec 27, 2016 at 11:33 AM, Avital Steinberg < > [hidden email]> wrote: > >> Hi, >> I've recently upgraded my mac's operating system to the most recent >> 10.11.6 >> El Capitan. As a result, I noticed that Fiji was automatically updated to >> Java 8. I wanted to get a version of Fiji which is bundeled with Java 6. >> >> When I went to the following site: >> >> https://imagej.net/Fiji/Downloads >> >> I looked for: >> "The transition towards Java 8 is in progress >> <https://imagej.net/2015-12-22_-_The_road_to_Java_8>. The packages below >> offer a version of Fiji that still works with Java 6." >> >> When I chose either "All platforms" or OSX, what I got was not what I >> wanted - Fiji was downloaded bundeled with Java 8. Does anyone know how I >> can get Fiji with Java 6 to work on El Capitan? >> >> Thanks, >> Avital >> >> -- >> ImageJ mailing list: http://imagej.nih.gov/ij/list.html >> > > -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
In reply to this post by ctrueden
Thanks, Curtis - now I understand what to do.
On Tue, Dec 27, 2016 at 7:46 PM, Curtis Rueden <[hidden email]> wrote: > Hi Avital, > > In general, see this guide: > http://imagej.net/2016-05-10_-_ImageJ_HOWTO_-_Java_8,_Java_6,_Java_3D > > The simplest solution is to uninstall Java 7 and/or 8. Then the ImageJ > Launcher will use Java 6. > > If you need to keep Java 7/8 installed for some reason, then you can try > creating a shell script like: > > #!/bin/sh > export J6="$(/usr/libexec/java_home -v 1.6 | head -n1)" > export IJ_HOME=/Applications/Science/Fiji-Life-Line-2014-06.app > $J6/bin/$($IJ_HOME/Contents/MacOS/ImageJ-macosx --dry-run | perl -pe 's/ > -Djava.ext.dirs=.*? -D/ -D/') > > Change IJ_HOME to the location of your Java-6-compatible Fiji installation, > of course. > > Sorry that running with Java 6 is not easier. One reason is that we cannot > bundle Apple Java 6 with Fiji, due to Apple's licensing restrictions. > > Regards, > Curtis > > -- > Curtis Rueden > LOCI software architect - http://loci.wisc.edu/software > ImageJ2 lead, Fiji maintainer - http://imagej.net/User:Rueden > Did you know ImageJ has a forum? http://forum.imagej.net/ > > > On Tue, Dec 27, 2016 at 11:33 AM, Avital Steinberg < > [hidden email]> wrote: > > > Hi, > > I've recently upgraded my mac's operating system to the most recent > 10.11.6 > > El Capitan. As a result, I noticed that Fiji was automatically updated to > > Java 8. I wanted to get a version of Fiji which is bundeled with Java 6. > > > > When I went to the following site: > > > > https://imagej.net/Fiji/Downloads > > > > I looked for: > > "The transition towards Java 8 is in progress > > <https://imagej.net/2015-12-22_-_The_road_to_Java_8>. The packages below > > offer a version of Fiji that still works with Java 6." > > > > When I chose either "All platforms" or OSX, what I got was not what I > > wanted - Fiji was downloaded bundeled with Java 8. Does anyone know how I > > can get Fiji with Java 6 to work on El Capitan? > > > > Thanks, > > Avital > > > > -- > > 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 |