On 3/28/07, Laura Stewart <[EMAIL PROTECTED]> wrote:
On 3/28/07, John H. Embretsen <[EMAIL PROTECTED]> wrote:
> Correct, you need to add the bin directory to the PATH variable for it
> to work from "anywhere". For example as described in the Getting Started
> guide, http://db.apache.org/derby/docs/10.2/getstart/tgssetupjavaenvir.html.

Can you help me understand the last part of setting for the PATH. I
understand the first part
%DERBY_HOME%\bin;

What I don't understand in the docs is the last part
%PATH%

If I already have DERBY_HOME set what does %PATH% do?

That adds the current value of the PATH variable to the end of the new
setting for the PATH variable. If you don't do this, then only the
Derby scripts will be in your path, and other important and necessary
system executables will not be in your path and thus will not be
runnable in your shell environment. Not a very useful situation to be
in, since the Derby scripts rely on some of those system executables
and would not be runnable without access to them either.

andrew

Reply via email to