The time issue doesn't really matter. But i'm wondering how to make some external calls to a java program that is already running.
A simple example: An infinite loop that does some processing on files.
If i had such a program described above, how could i write a shell/perl/python/etc script that would allow me to stop, start, pause, the java program?