How to give root access to Java Runtime Process?

3 days ago 9
ARTICLE AD BOX

I am trying to run a bash command through Java.Runtime.exec(), specifically coredumpctl.

I am only able to run the command on a bash terminal when I login as a root user, and this doesn't seem to be the same permission that the Java.Runtime has.

Is there any way to modify the Java.Runtime login or grant the Runtime root access?

Read Entire Article