Rob -
Thanks for the quick response. Good news, I see
the bug. (I'm a Java developer, too...which is why
I ran into this bug.)
I have a (non-empty) CLASSPATH variable set. (It points
to some JDBC-driver jars, but that alone is NOT the bug.)
The bug happens when ones CLASSPATH is NOT terminated with
a trailing ';' character. So, my workaround was simply to ADD a
trailing ';' character on the end. (I'm betting the same thing
would happen on Linux.)
For example, if ones has their
CLASSPATH=.\
then squirrel won't start. But, if it is
CLASSPATH=.\;
then squirrel is happy.
So, I think if your code is fixed to handle BOTH cases, no
one else will run into the problem.
[Either that, or else just tell everyone who sees the problem
to append a ';' to their path. :) ]
Cheers...
Dave
web-kayak-project:
http://mysite.verizon.net/david.hubert.cook/homebuilt-kayak/
web-GoogleMaps-project:
http://mysite.verizon.net/david.hubert.cook/google-maps/
-----Original Message-----
From: Robert Manning [mailto:rob...@gm...]
Sent: Tuesday, April 18, 2006 6:09 AM
To: David Cook
Cc: squ...@li...
Subject: Re: [Squirrel-sql-users] Squirrel-SQL v2.2 won't launch on my
Win-XP-Pro machine
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
computes
the SQuirreL location dynamically - is not working on your platform.
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 that
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=C:\tmp\squirrel2.2final
TMP_CP="C:\tmp\squirrel2.2final\squirrel-sql.jar";"C:\tmp\squirrel2.2final\l
ib\commons-cli.jar";"C:\tmp\squirrel2.2final\lib\forms.jar";"C:\tmp\squirr
el2.2final\lib\fw.jar";"C:\tmp\squirrel2.2final\lib\log4j.jar";"C:\tmp\squir
rel2.2final\lib\nanoxml-2.1.jar"
Copy what you get and send it to me.
Rob
|