This discussion is archived
3 Replies Latest reply: Oct 30, 2012 6:15 AM by 880601 RSS

Problem in saving image on Mac 10.6.8 onward OS using applet.

880601 Newbie
Currently Being Moderated
I have created an applet and signed it with authenticated certificate. But it’s when i am trying to save a resized image on or above MAC 10.6.8 i an getting and exception All factories fail for the operation "encode"

this only come on mac for windows it works fine. the line of code where it fails is

JAI.create("encode", resizedImage, outputStream, "JPEG", null);
i have installed java 1.7 on mac but still gets the same error. I think it’s some security issue with mac. Any reply would be highly appreciated.

Rohit Kapoor


  • Correct Answers - 10 points
  • Helpful Answers - 5 points