Hi Jim,
I believe this is most likely due to your CLASSPATH environment
variable containing an unquoted path with a space in it. In most
cases that have been reported, it will be something like C:\Program
Files\some\path\to\library.zip. Ideally, each path element in a
Windows CLASSPATH should be quoted, as in :
set CLASSPATH="C:\Program Files\some\path\to\library.zip";"C:\Program
Files\some\path\to\library2.zip";"C:\Program
Files\some\path\to\library3.zip"
If that is not the case, and you don't want to mess with environment
variables, then the file squirrel-sql.bat, that launches SQuirreL
contains the following at line 37:
SET SQUIRREL_CP=%TMP_CP%;%CLASSPATH%
Simply replace this line with:
SET SQUIRREL_CP=%TMP_CP%
I think this was intended originally to include JDBC drivers that
happened to be in the CLASSPATH. Given the number of people that have
had trouble with this, I am tempted to remove it. In any case, let us
know if that get's you beyond this issue.
Rob
On Tue, Apr 13, 2010 at 1:30 PM, <JIM...@pa...> wrote:
>
> I am new to Squirrel SQL. I just tried to install it on a Windows XP
> workstation, Squirrel Client version is 3.1. I have Java version 1.6.
> When I first began installing I had to change one Java environment variable
> to get it to run. When I finally got it working, I was prompted to get the
> latest updates, so I did. Now I can't get it to run at all. I'm get the
> following error:
>
> Java Virtual Machine Launcher
> Could not find the main class. Program will exit. I have googled this
> error message but did not find anything of value.
>
> Any and all help will be greatly appreciated.
>
> Thanks,
> Jim
>
> ***************************************************************
> CONFIDENTIALITY NOTICE: This email message and any accompanying attached document(s) may contain legally privileged, confidential information as defined by HIPAA, State and Federal Confidentiality rules (42 CFR Part 2) and IC 16-39-2-5, belonging to the sender. The information is intended ONLY for the use of the individual or entity listed above. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, use or taking of any action by reliance on the contents of this emailed message or attached document(s) is STRICTLY PROHIBITED. If you have received this email message in error, please notify the sender immediately.
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Squirrel-sql-users mailing list
> Squ...@li...
> https://lists.sourceforge.net/lists/listinfo/squirrel-sql-users
>
|