[ 
http://issues.apache.org/jira/browse/DERBY-1082?page=comments#action_12369329 ] 

Stan Bradbury commented on DERBY-1082:
--------------------------------------

Furhter testing shows the entire filepath containing the environement variable 
needs to be quoted   EXAMPLE:

"%JAVA_HOME%\bin\java" org.apache.derby.drda.NetworkServerControl start 

Not just the variable EXAMPLE (wrong):
"%JAVA_HOME%"\bin\java org.apache.derby.drda.NetworkServerControl start 
RESULTS: The java class is not found:  \bin\java

> The START and STOP scripts for Network Server in the frameworks\bin directory 
> fail if there is a space in the filepath of JAVA_HOME
> -----------------------------------------------------------------------------------------------------------------------------------
>
>          Key: DERBY-1082
>          URL: http://issues.apache.org/jira/browse/DERBY-1082
>      Project: Derby
>         Type: Bug
>   Components: Demos/Scripts
>     Versions: 10.2.0.0
>     Reporter: Stan Bradbury

>
> References to the environment variable JAVA_HOME are not quoted in the Start 
> and Stop scripts for Network Server in the frameworks\bin directory (both the 
> .bat and the .ksh versions).  This causes the script to fail when there is a 
> space in the file path listed.  
> It looks like the environment variable DERBY_INSTALL is properly quoted to 
> prevent this.

-- 
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

Reply via email to