What are some ways to interact with a jar
post creation in the command line? I know you can pass parameters when it's created (e.g. java -jar foo.jar foo bar) but this isn't what I want.
Example of what I would like to happen
java -jar foo.jar
Some time later
// Someway to interact with the above jar e.g. Call a method