On 14/04/2010 10:42 AM, Mark J. Reed wrote:
> The comments tell you which one is the problem:
>
> @rem Run with no command window. This may not work with older versions of
> Windows. Use the command above then.
> start "SQuirreL SQL Client" /B "%LOCAL_JAVA%w" -Xmx256m
> -Dsun.java2d.noddraw=true -cp %SQUIRREL_CP%
> net.sourceforge.squirrel_sql.client.Main %TMP_PARMS%
>
> In this case, XP is an "older version of Windows". The "command above"
I'm running SQuirreL 3.0.3 on Windows XP and this is the command in my
.bat file:
start "SQuirreL SQL Client" /B "%LOCAL_JAVA%w" -Xmx256m -cp
%SQUIRREL_CP% net.sourceforge.squirrel_sql.client.Main %TMP_PARMS%
The only thing different between mine and the one above is the lack of
the -Dsun.java2d.... parameter.
IIRC, "older version of Windows" originally referred to pre-XP/NT
versions of Windows.
In regards to the original problem, do you have JAVA_HOME defined in
your environment, and it is pointing to a v1.6 JVM?
Maury
|