On 4/17/06, David Cook <Dav...@ve...> wrote:
>
> I installed Squirrel-SQL about a month or so ago, on my
> Win-XP-Pro machine. (I think I launched it once back then, as
> I quick view, and I THINK the GUI came up fine back then?!)
>
> So, now today, I decided to use it! But, when I launch it,
> the little black DOS-box window appears for an instant, then
> I get a popup with a title-bar of: 'Java Virtual Machine Launcher'
> and a big red 'X' saying: 'Could not find the main class.'
>
> Anyone else seeing this?
>
Dave,
It is possible that the most recent change to squirrel-sql.bat - which comp=
utes
the SQuirreL location dynamically - is not working on your platform.=20
I use WinXP
(Home) and it works. I've attached a modified form of
squirrel-sql.bat (renamed as
squirrel-sql.bar) which simply prints a couple of environment variables tha=
t we
set in the script.
Do this:
1. Replace the squirrel-sql.bat file in your local installation with
the one I've attached
2. Open a command prompt and cd to the dir where squirrel-sql.bat is
3. Run squirrel-sql.bat
You should see something like this:
SQUIRREL_SQL_HOME=3DC:\tmp\squirrel2.2final
TMP_CP=3D"C:\tmp\squirrel2.2final\squirrel-sql.jar";"C:\tmp\squirrel2.2fina=
l\lib\commons-cli.jar";"C:\tmp\squirrel2.2final\lib\forms.jar";"C:\tmp\squi=
rr
el2.2final\lib\fw.jar";"C:\tmp\squirrel2.2final\lib\log4j.jar";"C:\tmp\squi=
rrel2.2final\lib\nanoxml-2.1.jar"
Copy what you get and send it to me.
Rob
|