Problems starting fiji from terminal (on Mac)

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

Problems starting fiji from terminal (on Mac)

Florian Jug
Hi *,

since I need to run fiji using a JDK>1.6 I do usually start it from terminal using:
/Applications/Fiji.app/Contents/MacOS/ImageJ-macosx --java-home /Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/‘

For some obscure reason this seems not to work any longer.
A few things I noticed and might help some of you to help me:

If I start fiji by double clicking Fiji.app in /Applications… everything works just fine!
Strangely enough, also this would start fiji just fine:
export JAVA_HOME=$JAVA_6_HOME
/Applications/Fiji.app/Contents/MacOS/ImageJ-macosx
But directly after calling the following two lines will make fiji hang again:
export JAVA_HOME=$JAVA_7_HOME
/Applications/Fiji.app/Contents/MacOS/ImageJ-macosx
Same is true by switching to 1.8.

This means that I am currently not able to run fiji, except I comply to Java 1.6.

Any ideas for how to fix this VERY welcome and desperately needed!

Cheers,
Florian

PS@Curtis: thanks for yesterdays help!



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

Re: Problems starting fiji from terminal (on Mac)

Florian Jug
I solved it… and it is not beautiful.
I rebooted my machine (which only had an uptime of some hours anyways) and now everything works.

I have no idea why and it seems I will never find out…

Hope I did not cause anybody to loose time trying to find the cause for this weird thing,
Florian


> On 09 Feb 2015, at 11:00, Florian Jug <[hidden email]> wrote:
>
> Hi *,
>
> since I need to run fiji using a JDK>1.6 I do usually start it from terminal using:
> /Applications/Fiji.app/Contents/MacOS/ImageJ-macosx --java-home /Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/‘
>
> For some obscure reason this seems not to work any longer.
> A few things I noticed and might help some of you to help me:
>
> If I start fiji by double clicking Fiji.app in /Applications… everything works just fine!
> Strangely enough, also this would start fiji just fine:
> export JAVA_HOME=$JAVA_6_HOME
> /Applications/Fiji.app/Contents/MacOS/ImageJ-macosx
> But directly after calling the following two lines will make fiji hang again:
> export JAVA_HOME=$JAVA_7_HOME
> /Applications/Fiji.app/Contents/MacOS/ImageJ-macosx
> Same is true by switching to 1.8.
>
> This means that I am currently not able to run fiji, except I comply to Java 1.6.
>
> Any ideas for how to fix this VERY welcome and desperately needed!
>
> Cheers,
> Florian
>
> PS@Curtis: thanks for yesterdays help!
>
>


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

Re: Problems starting fiji from terminal (on Mac)

John Minter
In reply to this post by Florian Jug
Hi Florian?

Did your computer automatically update Java? The current release of Oracle
Java 1.7 is 1.7.0_75... Take a peek at /Library/Java/JavaVirtualMachines to
see what's there...

Best regards,
John

On Mon, Feb 9, 2015 at 5:00 AM, Florian Jug <[hidden email]> wrote:

> Hi *,
>
> since I need to run fiji using a JDK>1.6 I do usually start it from
> terminal using:
> /Applications/Fiji.app/Contents/MacOS/ImageJ-macosx --java-home
> /Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/'
>
> For some obscure reason this seems not to work any longer.
> A few things I noticed and might help some of you to help me:
>
> If I start fiji by double clicking Fiji.app in /Applications... everything
> works just fine!
> Strangely enough, also this would start fiji just fine:
> export JAVA_HOME=$JAVA_6_HOME
> /Applications/Fiji.app/Contents/MacOS/ImageJ-macosx
> But directly after calling the following two lines will make fiji hang
> again:
> export JAVA_HOME=$JAVA_7_HOME
> /Applications/Fiji.app/Contents/MacOS/ImageJ-macosx
> Same is true by switching to 1.8.
>
> This means that I am currently not able to run fiji, except I comply to
> Java 1.6.
>
> Any ideas for how to fix this VERY welcome and desperately needed!
>
> Cheers,
> Florian
>
> PS@Curtis: thanks for yesterdays help!
>
>
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html