I am using pdf2swf tool to convert pdf to swf in my application, and using java to run this process via code and using jboss as my server on a linux os.
But i am getting following exception :
java.io.IOException: Cannot run program "pdf2swf": java.io.IOException: error=12, Cannot allocate memory"