db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Knut Anders Hatlen <Knut.Hat...@Sun.COM>
Subject Re: question about derbytools.jar
Date Wed, 26 Aug 2009 11:15:58 GMT
Ahmed Layouni <pirateoch@gmail.com> writes:

> Hi
>
> i'm a new user of Derby,
> - the IDE i'm using to develop is Eclipse
> - i've just made a little pogram, to test the connexion with an embedded base
> - the program is working, the connexion is ok but i have a little question:
>
> The documentation says "Use the setEmbeddedCP script to set the classpath when
> the database engine is used in embedded mode. This script adds the derby.jar
> and derbytools.jar files to the classpath."
> However in my program i tried to set only the derby.jar file to the classpath,
> and the program worked (i didn't set the derbytools.jar).
>
> is it necessary to add derbytools.jar to the classpath? and why?

Hi,

You only need derbytools.jar in the classpath if you want to use the
Derby tools like ij, dblook and sysinfo. Since these are command-line
utilities, you probably don't use them from your application, and it's
fine not to include derbytools.jar.

-- 
Knut Anders

Mime
View raw message