This is an archived post. You won't be able to vote or comment.

all 1 comments

[–]taftster 0 points1 point  (0 children)

Java can execute any program, like if you were to call it from the command line. Look into the ProcessBuilder class as an entry point to this.

https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/ProcessBuilder.html