title: JAI ClassNotFound Exception when calling JAI.create
body: <p>I am trying to read a .tif image using javax.media.jai.JAI.  Here is my code:</p>
  
  <pre><code>import javax.media.jai.JAI;
  import javax.media.jai.RenderedOp;
  
  BufferedImage image = null;
  if(extension.toLowerCase().equals("tif")) {
      RenderedOp op = JAI.create(fileName, file);
      image = op.getAsBufferedImage();
  } else {
      image = ImageIO.read(file);
  }
  </code></pre>
  
  <p>The "file" (Java.io.File) and "fileName" (String) parameters are fine.  But when it gets to the "JAI.create(...)" line, I get this exception: </p>
  
  <pre><code>java.lang.ClassNotFoundException: javax.media.jai.JAI
  </code></pre>
  
  <p>I'm not sure why it can't find JAI.  Any ideas?</p>