Platform Windows 7, 64bit
After installation with admin privileges to the default folder "c:\Program Files (x86)\squirrel-sql-3.3.0\"
neither shortcut nor squirrel-sql.bat is able to start the apllication.
The following error is displayed:
C:\Program Files (x86)\squirrel-sql-3.3.0>squirrel-sql.bat
\Java\jdk1.6.0_22\\bin\javaw.exe was unexpected at this time.
There is a quick&dirty solution:
In the very beginning of the .bat file instead of complex expression
if exist "%IZPACK_JAVA%\bin\javaw.exe" (
set LOCAL_JAVA=%IZPACK_JAVA%\bin\javaw.exe
echo LOCAL_JAVA=%LOCAL_JAVA%
) else (
set LOCAL_JAVA=javaw.exe
)
put just simple instruction
set LOCAL_JAVA=%IZPACK_JAVA%\bin\javaw.exe
After it application is able to run.
Therefore this complex expression is to be fixed.
Is duplicate of Bug 3026995 which is already fixed in SVN and will be available in further releases.
See: https://sourceforge.net/tracker/index.php?func=detail&aid=3026995&group_id=28383&atid=393414
There is also a discussion on our mailing list:
https://sourceforge.net/mailarchive/message.php?msg_id=28606773