Re: How can I run ImageJ with Java 1.6 on my MacBook?

Posted by Glen MacDonald-2 on
URL: http://imagej.273.s1.nabble.com/How-can-I-run-ImageJ-with-Java-1-6-on-my-MacBook-tp3691203p3691207.html

My mileage has been -
IJ1.43 64bit on Mac Pro tower, OS10.5.8, Java 1.6.0_13 64-bit,  runs  
well.  IJ 32-bit opens using Java 1.5.0_19 32-bit.  this one goes to  
OS10.6 today.

On MacBook Pro OS10.5.8 Java 1.6.0_13 64-bit, with IJ 32-bit running  
with Java 1.5.0_19 32-bit,,both  ran well,.  Today, the MBP is  
upgraded to OS10.6,  IJ 64 uses Java 1.6.0_15 64-bit,  and IJ 32 uses  
Java 1.6.0_15 32-bit.

I've encounter no problems opening one and then the other version of  
IJ, or running both at the same time.  Do you have the 64-bit Java  
installed?
Applications/Utilities/Java Preferences

Glen

Glen MacDonald
Core for Communication Research
Virginia Merrill Bloedel Hearing Research Center
Box 357923
University of Washington
Seattle, WA 98195-7923  USA
(206) 616-4156
[hidden email]

******************************************************************************
The box said "Requires WindowsXP or better", so I bought a Macintosh.
******************************************************************************


On Sep 11, 2009, at 12:20 PM, Bill Mohler wrote:

> Any trick to getting ImageJ64 to launch on a Mac?  When I double-
> click, I see the icon react, but don't find any application  
> opening.  FYI, I had been running ImageJ(32) earlier.  Do I need to  
> reboot?
>
> I have IJ 1.43F on OS 10.5.8, Java 1.5.0_19 (32bit).  I think I'm  
> all up-to-date.
>
> Thanks,
> Bill
>
> Wayne Rasband wrote:
>>
>> > I have a MacBook running Mac OS X 10.5.8 with
>> > 1 GB of RAM. I would like to use Jerek Sacha's
>> > ij-plugins-toolkit, but they require Java 1.6.
>> >
>> > I have Java SE 1.6 64 bit on this Mac as well as Java 1.5,
>> > but the ImageJ Installation page mentions ImageJ will only
>> > use Java 1.6 if the machine has more than 2.5 GB RAM.
>> >
>> > So is there any way to convince my copy of ImageJ to
>> > use Java 1.6 without stuffing more RAM into my MacBook?
>>
>> ImageJ for Mac OS X comes with two applications (launchers), ImageJ  
>> and ImageJ64. On Mac OS X 10.5 (Leopard), ImageJ uses a 32-bit  
>> version of Java 1.5 and ImageJ64 uses a 64-bit version of Java 1.6.  
>> On Mac OS X 10.6 (Snow Leopard), ImageJ uses a 32-bit version of  
>> Java 1.6 and ImageJ64 uses a 64-bit version of Java 1.6. ImageJ64  
>> is much faster than ImageJ but it crashes more often and it is not  
>> able to run commands, such as File>Import> Using QuickTime, that  
>> use QuickTime for Java. Image64 does not required 2.5 GB or RAM but  
>> it is able to use more than 1.8 GB if you have more than 2 GB  
>> installed.
>>
>> I did some benchmarking and found that the getPixel() method is ~4  
>> times faster when running ImageJ64. It is as fast as directly  
>> accessing the pixel data, which means that Java 1.6 must be  
>> inlining the getPixel() method.
>>
>> -wayne
>>
>
> --
> William A. Mohler
> Associate Professor
> Dept. of Genetics and Developmental Biology
> University of Connecticut Health Center
> MC-3301
> 263 Farmington Ave.
> Farmington, CT   06030-3301
>
> [hidden email]
> *Mobile: (860) 985-2719*
> alt. mobile: (860) 331-8514
> skype: wmohler
>
> Office: (860) 679-1833, room E2029
> Lab: (860) 679-1834, room E2032
> Fax: (314) 689-1833
>
> G&DB dept. ofc.: (860) 679-8350
> G&DB dept. fax : (860) 679-8345
> http://genetics.uchc.edu/Faculty/Mohler/Mohler.html
> P Think before you print