This question does not relate to either java or jconsole.
This is about terminal facilities. Putty is used to perform SSH connection. If the remote server is Unix like system you can use command screen
to perform what you want. Take a look on Unix shell reference to learn how to use screen
.