#899 Launcher errors with spaces in java path

3.1
open
5
2012-12-29
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.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks