Let's say that I have Client class with a main method that does something (maybe connecting to class Server).
Is there a way to create a class (let's say ClientLauncher) that launch n clients (n passed as a parameter) as different java applications?
Note that, I do not want these clients to be different threads inside one application. I want to obtain the same effect that I would get by pressing the run button in Eclipse several times (launching different main methods).