Re: ImageJ 1.42 won't start in Mac OSX, v 10.6.2
Posted by Raymond Martin-2 on Dec 08, 2009; 8:47pm
URL: http://imagej.273.s1.nabble.com/ImageJ-1-42-won-t-start-in-Mac-OSX-v-10-6-2-tp3690151p3690153.html
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