Modified the copying of java.jar to the home DIR

This fix allows for using the Unix setup to connect to a windows machine with OpenSSH and Cygwin installed. "~" home directory shortcut is common between windows and linux platforms