Building Cocoon 2.1.0 with JDK 7 fails: compile-build.xml:68

Please Visit: http://ift.tt/1ajReyV



Don't use com.sun.image.jpeg.codec package

The deprecated, proprietary com.sun.image.jpeg.codec package has been removed from JDK 7 (see this official official JDK7 compatibility note).

If your code still uses it, replace it with Use ImageIO, it can read/write JPEG, PNG, GIF, and BMP out of the box. Or as a temp workaround, compile using JDK 6 or older version.

ImageIO.write(ChartImage, "jpeg", out);

http://ift.tt/N6OoJg

http://ift.tt/N6OoZw

http://ift.tt/K1z89N



from Google Plus RSS Feed for 101157854606139706613 http://ift.tt/N6OoJg

via LifeLong Community

No comments:

Post a Comment