I have a Java program which is divided into client and server code. However, for standalone users, I want both the server software and client software to be launch with the click of one button. I have had success embedding the http server with the server software. What I need now is a way to launch the two programs (as two instances) from a single place which can send information to the programs that it has spawned. How can I achieve this?
P.S. I have used JavaFX for the client program so it is better if I have a way of launching JavaFX programs as well.
start.batandstart.shin your project's "bin" directory. This is how a lot of projects do it (e.g tomcat). Regarding the installer, do you really need it? Java apps with included jar dependencies are pretty much portable.