[ http://issues.apache.org/jira/browse/DERBY-2189?page=comments#action_12459249 ] Knut Anders Hatlen commented on DERBY-2189: -------------------------------------------
How did you set DERBY_HOME? If you use "set DERBY_HOME=...", it will be a local variable which is not visible to subprocesses. I tested with "setenv DERBY_HOME ..." and it worked. > Derby scripts does not work in C-shell even after setting DERBY_HOME > -------------------------------------------------------------------- > > Key: DERBY-2189 > URL: http://issues.apache.org/jira/browse/DERBY-2189 > Project: Derby > Issue Type: Bug > Components: Demos/Scripts > Affects Versions: 10.2.1.6 > Environment: Linux > Reporter: Rajesh Kartha > Priority: Trivial > > Even after setting DERBY_HOME to the right path the scripts in bin/ complain > of the env variable DERBY_HOME not been set. > swift rajderby/db-derby-10.2.2.0-bin> echo $DERBY_HOME > /local1/LINUX/rajderby/db-derby-10.2.2.0-bin > swift rajderby/db-derby-10.2.2.0-bin> bin/ij > Error: DERBY_HOME is not set. Please set the DERBY_HOME environment variable > to the location of your Derby installation. > The scripts work just fine in the 'bash' and 'sh' environments, hence marking > this issue Trivial - enough for tracking purposes only. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
