db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlos de Luna Saenz <CL...@mail.scjn.gob.mx>
Subject RE: hello
Date Mon, 28 May 2012 14:07:17 GMT
Try the followin quotation:
"C:\Program Files\Apache\db-derby-\lib\derby.jar";"C:\Program Files\Apache\db-derby-\LIB\derbytools.jar";

That is the complete path of the jar and no only the directory with the space.

-----Mensaje original-----
De: Bryan Pendleton [mailto:bpendleton.derby@gmail.com] 
Enviado el: viernes, 25 de mayo de 2012 08:03 p.m.
Para: Derby Discussion
Asunto: Re: hello

> C:\>java org.apache.derby.tools.sysinfo
> Error: Could not find or load main class 
> org.apache.derby.tools.sysinfo
> C:\>echo %CLASSPATH%
> C:\"Program Files"\Apache\db-derby-\lib\derby.jar;C:\"Program Files"
> \Apache\db-derby-\LIB\derbytools.jar;

Sometimes it is hard to get the quotation marks correct when you have spaces in file names.
Why don't you try putting the Derby installation into a different directory, without spaces
in the names, for example "c:\derby10.8", and see if setting your classpath to point to that
directory makes things easier.


View raw message