Posted by
Hering, Thomas on
Dec 09, 2009; 5:00pm
URL: http://imagej.273.s1.nabble.com/ImageJ-1-42-won-t-start-in-Mac-OSX-v-10-6-2-tp3690151p3690154.html
Hi Raymond,
Sorry for the delay in my reply. I tried what you suggested, and have copied the terminal session below: the response was "Unable to access jarfile ij.jar"
Last login: Mon Dec 7 18:31:30 on ttys000
mightymac4-3-local-3:~ Tom$ java -jar -Xmx256m ij.jar
Unable to access jarfile ij.jar
mightymac4-3-local-3:~ Tom$ java -jar -Xms64m -Xmx256m ij.jar
Unable to access jarfile ij.jar
mightymac4-3-local-3:~ Tom$
Thomas M. Hering, Ph.D.
Visiting Associate Professor of Orthopedic Surgery
Department of Orthopedic Surgery
School of Medicine
Washington University in St. Louis
St. Louis, MO 63110
________________________________________
From: ImageJ Interest Group [
[hidden email]] On Behalf Of Raymond Martin [
[hidden email]]
Sent: Tuesday, December 08, 2009 2:47 PM
To:
[hidden email]
Subject: Re: ImageJ 1.42 won't start in Mac OSX, v 10.6.2
Hello Dr. Hering,
On December 8, 2009 01:44:37 pm Hering, Thomas wrote:
> I use a MacBook Pro with a 2.6 GHz intel Core 2 Duo processor and 4 GB 667
> mHz DDR2 SDRAM. I just upgraded my operating system to Snow Leopard (OSX
> v10.6), and then did the upgrade to v10.6.2. I downloaded ImageJ 1.42,
> and find that it will not run (the microscope icon in the dock just
> bounces once, and the program will not start). I even downloaded and
> installed the JavaFor MacOSX.6Update1. It still would not open. Is there a
> fix for this problem? I would appreciate any help to resolve this. Thanks
> in advance!
Probably some kind of Java version mismatch, but...
Try starting the application from Terminal and see what errors get spit out
by the JVM. Instructions are on the ImageJ install page for Mac OS X.
Instruction there is wrong though:
Not: java -jar -mx256m ij.jar
but: java -jar -Xmx256m ij.jar
Also, try using: java -jar -Xms64m -Xmx256m ij.jar or similar instead
-Xmx option specifies maximum memory allowed for application heap
-Xms option specifies starting memory allocated to application from alloted
heap and speeds up the program on startup (default memory on OS X is quite low
without this approx. 2-4MB). Note -Xms must be =< -Xmx.
Report what you see.
Also check Java version or preferences set up (in Applications > Utilites >
Java Preferences of Finder) for a mismatch. Check Java version in Terminal
with: java -version.
I am surprised there is no .dmg and .app for this on OS X. I can make one,
but have not tried this on our Mac yet (Leopard). I will check it out.
Best regards,
Raymond Martin
The materials in this email are private and may contain Protected Health Information. If you are not the intended recipient be advised that any unauthorized use, disclosure, copying, distribution or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via return email.