The first step you should try is to run
squirrel-sql.bat from the command line as the previous email suggests. This is
generally the easiest way to find out what's wrong.
In your case it sounds like SQuirreL isn't finding
java. Your technique of solving it was "move Java to SQuirrel". I
think you'll find it's better to try the technique of "point SQuirreL to Java".
To do this you could modify environment variables so that JAVA_HOME is well
defined. But I find it easier to directly modify squirrel-sql.bat so I know
exactly what's going on.
Try this idea to get a squirrel-sql.bat file that looks
IF "%JAVA_HOME%"=="" SET LOCAL_JAVA=java
"%JAVA_HOME%"=="" SET LOCAL_JAVA=%JAVA_HOME%\bin\java
rem Note to myself: the following line was added
by me (31 Jan 2006)
set SQUIRREL_SQL_HOME=C:\Program Files\SQuirreL SQL
[standard squirrel-sql.bat continues...]
You probably have a JRE rather than a JDK (or SDK or
whatever it's called). So your path to it will be something like this:
Are you using the Sun JRE?
You can test what JRE is being picked
up on the classpath by typing java -version at a command prompt (Start/Run/cmd
<enter>). If so, I would go to
the Control Panel and open the Java control center and make sure the Sun Java is
the default JRE. If that doesn't work then I would try uninstalling and
reinstalling it. That should set things right again. I'd also go with the latest
Another option would be to run the
batch file that SQuirreL uses to launch from the command prompt. It will be best
to first CD to the SQuirreL folder. This might allow you to see some more error
messages. Finally, you could make a copy of this batch file and modify
Steve Dunn wrote:
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that
extends applications into web and mobile media. Attend the live webcast and join
the prime developer group breaking into this new coding territory!
_______________________________________________ Squirrel-sql-users mailing list
just installed Squirrel and can't seem to get it to run. When I double-click
the desktop icon I get a windows error box. At first it couldn't find 'javaw',
so I copied it into Squirrel's folder. Now it says it can't find the JRE. My
classpath is set so it should find it. Can anyone provide any assistance . . .
your help would be greatly appreciated.