Added javaBin usage

Also fix when javaBin or jar has space on the path
Merge pull request #2 from gusnips/patch-1

Added javaBin usage