Thanks I played with it a little bit and was able to get it to work.
Shawn Widenhofer
Senior Technical Consultant - STAR Vista Reporting
McKesson Provider Technologies - Cranberry Twp, PA
Phone 724 - 741 - 6817 Fax 724 - 741 - 6820
Confidentiality Notice: This e-mail message, including any attachments,
is for the sole use of the intended recipient(s) and may contain
confidential and privileged information. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply e-mail and destroy all
copies of the original message.
_____
From: Robert Manning [mailto:rob...@gm...]
Sent: Friday, August 29, 2008 12:06 PM
To: Widenhofer, Shawn
Cc: squ...@li...
Subject: Re: [Squirrel-sql-users] Squirrel Error when attempting to open
Version 2.5 requires java5 (1.5) or higher to run. My guess is that you
have a version of Java installed that is 1.5 or higher or else the
installer (assuming that is what you used and not an zip archive) would
have complained. It just doesn't happen to be the one in your command
PATH. The easiest way to remedy this is locate where you have that
version of java installed, and edit squirrel-sql.bat placing the line:
set JAVA_HOME=<Java5 install path>
just after the first line ("@echo off"). The <Java5 install path>
should have a "bin" directory in it.
Rob
On Fri, Aug 29, 2008 at 10:46 AM, Widenhofer, Shawn <
Sha...@mc... <mailto:Sha...@mc...> >
wrote:
Using Version 2.5 with the squirrel-sql.bat file. I wasn't sure about
how to view the java path.
C:\Documents and Settings\ekkicrz>java -version
java version "1.4.2_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.
Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)
Here is my current path
PATH=C:\DevSuiteHome\jdk\jre\bin\classic;C:\DevSuiteHome\jdk\jre\bin;C:\
DevSuite
Home\jdk\jre\bin\client;C:\DevSuiteHome\jlib;C:\DevSuiteHome\bin;C:\DevS
uiteHome
\jre\1.4.2\bin\client;C:\DevSuiteHome\jre\1.4.2\bin;C:\WINDOWS\system32;
C:\WINDO
WS;C:\WINDOWS\System32\Wbem;C:\PROGRA~1\CA\SHARED~1\SCANEN~1;C:\PROGRA~1
\CA\ETRU
ST~1;C:\Program Files\Vantive32;C:\Program Files\Borland\StarTeam SDK
2005 R2\Li
b;C:\Program Files\Borland\StarTeam SDK 2005 R2\Bin;C:\Program
Files\Microsoft S
QL Server\80\Tools\BINN;C:\Program
Files\Attachmate\Reflection\;C:\Program Files
\Borland\StarTeam SDK 9.2\Lib;C:\Program Files\Borland\StarTeam SDK
9.2\Bin;C:\P
rogram Files\Borland\StarTeam SDK 2006\Lib;C:\Program
Files\Borland\StarTeam SDK
2006\Bin;C:\Program Files\Borland\CaliberRM SDK 2006\lib;C:\Program
Files\SSH C
ommunications Security\SSH Secure Shell
Shawn Widenhofer
Senior Technical Consultant - STAR Vista Reporting
McKesson Provider Technologies - Cranberry Twp, PA
Phone 724 - 741 - 6817 Fax 724 - 741 - 6820
Confidentiality Notice: This e-mail message, including any attachments,
is for the sole use of the intended recipient(s) and may contain
confidential and privileged information. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply e-mail and destroy all
copies of the original message.
_____
From: Robert Manning [mailto: rob...@gm...
<mailto:rob...@gm...> ]
Sent: Thursday, August 28, 2008 9:10 PM
To: Widenhofer, Shawn
Cc: squ...@li...
<mailto:squ...@li...>
Subject: Re: [Squirrel-sql-users] Squirrel Error when attempting to open
On Thu, Aug 28, 2008 at 11:08 AM, Widenhofer, Shawn <
Sha...@mc... <mailto:Sha...@mc...> >
wrote:
I get a error says that it could not find the main class. Program will
exit. Any thoughts on how to rectify this?
What version are you using? What launch script (squirrel-sql.bat or
squirrel-sql.sh)? Lastly, what version of java is in your path ?
(command line: java -version)
Rob
|