Fix Java cmd when home directory contains spaces

Common in Windows for the user's home directory to the user's full name with spaces, like "C:\Users\Joe Bloggs".