runtime - Cannot run program "pandoc": error=2, No such file or directory -


i trying use pandoc create pdf .md file in processing sketch using method below:

    string[] command = {"pandoc", "-s", "-o", pdfname, "newfilename"};     runtime rt = runtime.getruntime();     process p = rt.exec(command); 

(where pdfname string), getting following error:

java.io.ioexception: cannot run program "pandoc": error=2, no such file or directory

when run pandoc terminal have not problems, not sure going wrong here.


Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo