Please look at the links below, the first is to Java 7 Runtime, which includes the exec function. This returns a Prcoess object (shown in the second link) from this you can retrieve input and output...
Type: Posts; User: Freaky Chris
Please look at the links below, the first is to Java 7 Runtime, which includes the exec function. This returns a Prcoess object (shown in the second link) from this you can retrieve input and output...
But my point is that you can call "java [path]" from Runtime.exec or a more advanced method. Rather than needing to launch a terminal and the send commands to the terminal.
Why bother opening a terminal? Why not just sent the commands using the exec function of Runtime? Or a more advanced approach perhaps.
Chris