If you can pass arguments to the .jar file to give it the path and name of the file to read, and the path and name to save output to, for example, you could do this from the command-line
from the java man:
java [ options ] -jar file.jar [ argument … ]
You can use aka.shell, or shell, or the attached mxj object to do this.
Let us tell you about notable Max projects, obscure facts, and creative media artists of all kinds.