I\'m creating an image watermarking program in java and I imported the followings:
import com.sun.image.codec.jpeg.JPEGCodec; import com.sun.image.codec.jpeg.JPE
Maybe your jre system library is 1.8
or eclipse: Project Properties > java compiler > Errors/Warnings > Deprecated API
change Error to ignore/warning