access denied (java.io.FilePermission" "<>" "execute")
I am using windows os and using rapidminer 8.2
I am developing an extension in which I am trying to execute a command eg:
ffmpeg -i small.mp4
from the java code
I have tried using
- Runtime.getRuntime().exec("cmd /c ffmpeg -i abc.mp4")
- I have tried using process builder for the same
but still I am getting the same error as shown in attachment .
I have tried similar approach in simple java class program inside void main function and both the points mentioned above are working fine.
But when I tried using above mentioned points inside rapiminer extension and I am getting the error.
I also tried using simple commands like "dir" still similar error.
I went to this Link before posting but didn't find any solution regarding this.
can anyone please provide suggestions regarding this?