Installing QuickTime for Java on Windows
To use plugins that require QuickTime you must install QuickTime and copy the file QTJava.zip to a location where ImageJ and QuickTime for Java can find it.Look for QTJava.zip in places like C:\Program Files\QuickTime\QTSystem or C:\Program Files\Java\jre1.5.0\lib\ext, or use the Windows Search function to find it.
- Install QuickTime 7
- Copy QTJava.zip to the Java extensions folder (...ImageJ\jre\lib\ext)
To compile a plugin that uses QuickTime for Java using Plugins>Compile and Run, put a copy of QTJava.zip in the plugins folder and rename it QTJava.jar.
Installing QuickTime for Java (QuickTime 6 and earlier)
Restart ImageJ and you should be able run or "Compile and Run" plugins that use QuickTime.
- If you haven't already done so, download and install one of the Java Runtime Environments or Java Software Development Kits from Sun. This step is necessary because the QuickTime installer will not install QuickTime for Java if a Sun JRE or SDK is not installed. A JRE or SDK does not need to be installed to run ImageJ or to run QuickTime plugins. ImageJ normally uses the JRE 1.3.1 included in the ImageJ folder.
- Download QuickTime from Apple and do a custom installation, selecting "QuickTime for Java" from the list of optional components.
- Use the Find program to find the file "QTJava.zip".
- Open "ImageJ.cfg" (it's in the ImageJ folder) in a text editor such as notepad and add the path to QTJava.zip to third line. For example, if QTjava.zip is in the C:\Windows\System\ directory then the third line would look something like:
-Xmx400m -cp ij.jar;C:\Windows\System\QTJava.zip ij.ImageJThe -Xmx400 option specifies how much memory is available to ImageJ, in this case 400MB.