This is the next question to the one I asked earlier:
start-program-if-not-already-running-in-java
I did not get a great solution there (since it looks like it is not alone), but I have a related question:
Is it possible to run the application in Java code (.exe on Windows, and not in the Java application) and run it with a minimum value? Or perhaps minimize it right after the start? This would solve the focus problem from another question, and an already running problem would more or less cope with itself.
Problems with clarifications again: The Java client and .exe work on Windows, and I really have no way to write any wrappers or use the JNI mojo or something like that. I more or less need a clean Java solution.
Again, thanks for the help, and I'm more than ready to accept an answer that is simple: "It's just not possible."
source share