code: @SuppressWarnings("nls")
      public static ImageReader findReader() {
          Iterator<ImageReader> readers = ImageIO.getImageReadersByFormatName("jpeg");
          ImageReader reader = null;
          while( readers.hasNext() ) {
              reader = (ImageReader) readers.next();
              if (reader.getClass().getName().startsWith("com.sun.media")) { // com.sun.imageio?
                  break;
              }
          }
          return reader;
      }
docs: Find jpeg {@link ImageReader reader}.
  
  @return the reader or <code>null</code>.