Search This Blog

Mac OS: Install Java Advanced Imaging(JAI) Image I/O plugins

For Windows, Linux and Solaris, you can download the corresponding jai_imageio from Oracle/Sun: http://download.java.net/media/jai-imageio/builds/release/1.1/

Unfortunately, there is no native build for Mac OS. However, the JAI Image I/O has a Java implementation fallback which also works on Mac OS X. Some of the image formats are not fully supported in this fallback mode, but at least the TIFF image format is known to be supported. Follow the instructions below to install jai_imageio on Mac OS X:
  1. Download a Linux(tar.gz) distribution of JAI Image I/O from: http://download.java.net/media/jai-imageio/builds/release/1.1/jai_imageio-1_1-lib-linux-amd64.tar.gz
  2. Unpack it:
    tar zxvf jai_imageio-1_1-lib-linux-amd64.tar.gz
  3. copy/move clibwrapper_jiio.jar and jai_imageio.jar to the directory that is in your project's classpath. e.g. the lib directory of your eclipse project.

1 comment: