Posted by
Harry Parker on
Sep 12, 2009; 1:59am
URL: http://imagej.273.s1.nabble.com/How-can-I-run-ImageJ-with-Java-1-6-on-my-MacBook-tp3691203p3691206.html
Hi Bill,
You didn't say what kind of mac you have. What does your "About This Mac" window say about your processor?
I got ImageJ64 to work on my MacBook with 2.16 GHz Intel Core 2 Duo processors. (the 1st 64 bit processor on a Mac.)
I got ImageJ64 to work by downloading the latest ImageJ for Mac OS from the website and replacing my old ImageJ apps.
It wasn't enough to just do the ij.jar update on the Help menu.
Assuming you also have a 64 bit processor, that should do it for you.
--
Harry Parker
Senior Imaging Systems Engineer
________________________________
From: Bill Mohler <
[hidden email]>
To:
[hidden email]
Sent: Friday, September 11, 2009 3:20:24 PM
Subject: Re: How can I run ImageJ with Java 1.6 on my MacBook?
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.htmlP Think before you print