Menu

#899 Launcher errors with spaces in java path

None
open
5
2018-12-22
2010-08-28
Brian Fabec
No

When launching squirrel from my 64bit OS where my Java is installed in a directory with a space, I get the following:

C:\\SQuirreL>squirrel-sql.bat
\\Java\\jre6\\bin\\javaw.exe was unexpected at this time.
C:\\SQuirreL>

This is due to this line:
set IZPACK_JAVA=C:\\Program Files (x86)\\Java\\jre6

When putting quotes around the value, it fixes the issue:
set IZPACK_JAVA=\"C:\\Program Files (x86)\\Java\\jre6\"

Thanks!

Discussion


Log in to post a comment.