Fix #2787 - console.sh Java path spaces

Same fix for spaces in paths as the last fix on server.sh commit:
01a5f9dc797ae593bb83529ab1a19eef83d3f97f