How can I remove metadata from a JPEG image in Java?
Metadata isn't read when you read in the image. So just read it in and write it back.
BufferedImage image = ImageIO.read(new File("image.jpg"));
ImageIO.write(image, "jpg", new File("image.jpg"));