Hi
Happy new year to everybody. I am using Fiji and ImageJ on a mac running under 10.9.1 with both java 6 and java 7 installed. When I lauch either Fiji and ImageJ I noticed that the java version that is used is java 6. If I lauch ij.jar from the command line it is java 7 that is used. I would like to know how to use java 7 when the application is launched by double click. Do you know how to do this ? Thank you for your help Regards Eric -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Hi Eric,
On 04.01.2014, 11:07 AM, Eric Leroy wrote: > I am using Fiji and ImageJ on a mac running under 10.9.1 with both java 6 and java 7 installed. When I lauch either Fiji and ImageJ I noticed that the java version that is used is java 6. If I lauch ij.jar from the command line it is java 7 that is used. I would like to know how to use java 7 when the application is launched by double click. Do you know how to do this ? Use the --java-home command line option. See the Fiji FAQ here: http://fiji.sc/Frequently_Asked_Questions#How_do_I_launch_Fiji_with_a_different_version_of_Java.3F Hope that helps, Jan -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Hi,
I am afraid that the --java-home feature is currently nonfunctional on OS X 10.8 and 10.9. I have a topic branch to fix it but it is not quite ready to be merged: https://github.com/imagej/imagej-launcher/pull/1 I will reply back with more details when I am back In the office this week. Regards, Curtis On Jan 4, 2014 11:47 AM, "Jan Eglinger" <[hidden email]> wrote: > Hi Eric, > > On 04.01.2014, 11:07 AM, Eric Leroy wrote: > >> I am using Fiji and ImageJ on a mac running under 10.9.1 with both java 6 >> and java 7 installed. When I lauch either Fiji and ImageJ I noticed that >> the java version that is used is java 6. If I lauch ij.jar from the command >> line it is java 7 that is used. I would like to know how to use java 7 when >> the application is launched by double click. Do you know how to do this ? >> > > Use the --java-home command line option. > > See the Fiji FAQ here: > > http://fiji.sc/Frequently_Asked_Questions#How_do_I_ > launch_Fiji_with_a_different_version_of_Java.3F > > Hope that helps, > Jan > > -- > 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 Eric Leroy-2
Hi Eric,
On Sat, 4 Jan 2014, Eric Leroy wrote: > Happy new year to everybody. And to you! > I am using Fiji and ImageJ on a mac running under 10.9.1 with both java > 6 and java 7 installed. When I lauch either Fiji and ImageJ I noticed > that the java version that is used is java 6. If I lauch ij.jar from the > command line it is java 7 that is used. I would like to know how to use > java 7 when the application is launched by double click. Do you know how > to do this ? For the moment, the ImageJ launcher does not allow using Java 7 on MacOSX. The reason is that for a long time, it was not even clear where Java would go on MacOSX and then it was clear that it was going to be buggy for a while and now it is clear that Java 7 would force everybody to upgrade to the newest MacOSX (and of course, the newest Apple hardware). Having said that, Curtis Rueden worked on this issue quite a bit and now it patiently awaits the time when yours truly will be able to make sure that things still work with Java 1.6 (and even Java 1.5). Hopefully I'll come around to taking care of that next week. Ciao, Johannes -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Free forum by Nabble | Edit this page |