Jdeveloper - 12.2.1.0.0
I am currently migrating an application from JDK 1.5.0_06 to 1.8.0_66. In the application, there are multiple files that use com.sun.image.codec.jpeg classes. When I try to create a JAR I'm getting the below error.
error: package com.sun.image.codec.jpeg does not exist import com.sun.image.codec.jpeg.*;
I referred the blog on Replacing the deprecated Java JPEG classes for Java 7 and my errors were cleared. But now I'm getting a warning as below
warning: JPEGImageWriter is internal proprietary API and may be removed in a future release
import com.sun.imageio.plugins.jpeg.JPEGImageWriter;
Kindly help me on how to go ahead with the same.