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? -- Harry Parker Senior Imaging Systems Engineer |
> 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 |
Hi Harry,
Hopefully, ImageJ64 will work for you. If not, it might be possible to use 32-bit Java 1.6 on Mac OS X 10.5, using the OpenJDK 6 port, but I haven't tested it. Unfortunately, the documentation on how to do this is pretty scattered and difficult, but in case you are interested here are some links: Overview: http://landonf.bikemonkey.org/2009/05/17 Supposedly can be installed using MacPorts (package is "openjdk6"): http://www.macports.org/ Though apparently doesn't work on Snow Leopard at the moment: http://trac.macports.org/ticket/20956 I'd be interested to hear if anybody has tried this or manages to get it working! -Curtis On Thu, Sep 10, 2009 at 12:29 PM, Wayne Rasband <[hidden email]> 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 > |
In reply to this post by Wayne Rasband
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 |
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 |
OK. I checked and had 64-bit java installed, so I just replaced my
ImageJ64.app file with one I downloaded fresh from the web. Now ImageJ64 launches fine. Maybe I had mucked something up while looking around the package contents for my old ImageJ64.app? Thanks! Bill Glen MacDonald wrote: > 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 >>> |
In reply to this post by Bill Mohler
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.html P Think before you print |
Free forum by Nabble | Edit this page |