Article 5T0E6 How to fix java.io.IOException: Cannot run program "getContentHtml" (in directory "."): error=2, no such file exception??

How to fix java.io.IOException: Cannot run program "getContentHtml" (in directory "."): error=2, no such file exception??

by
xg3571
from LinuxQuestions.org on (#5T0E6)
I stored python script getContentHtml and InspectSite.java file in current directory

InspectSite.java code:
Code:Process process = Runtime.getRuntime().exec("getContentHtml "+url, null, new File("./"))
...and console print error message Cannot run program "getContentHtml" (in directory ".")
absolute path doesn't work too.latest?d=yIl2AUoC8zA latest?i=tA7oeewjKlk:H5UHVLZVXvw:F7zBnMy latest?i=tA7oeewjKlk:H5UHVLZVXvw:V_sGLiP latest?d=qj6IDK7rITs latest?i=tA7oeewjKlk:H5UHVLZVXvw:gIN9vFw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments