On 3/28/07, Andrew McIntyre <[EMAIL PROTECTED]> wrote:
On 3/28/07, Laura Stewart <[EMAIL PROTECTED]> wrote:
> 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


Is this only necessary from the command line? If I am using the
Control Panel to set DERBY_HOME, it seems odd to put PATH into the
PATH environment variable...like a circular reference :-)
--
Laura Stewart

Reply via email to