ServiceMix fails to start when JAVA is installed under path containing spaces
-----------------------------------------------------------------------------
Key: SM-1914
URL: https://issues.apache.org/activemq/browse/SM-1914
Project: ServiceMix
Issue Type: Bug
Components: servicemix-assembly
Environment: Windows XP; JDK 1.6.0 update 16
Reporter: MichaĆ Mally
Attachments: startup-fix.patch
I am trying to use Cygwin to run servicemix using *bin/servicemix* script. My
JDK is installed under *C:/Program Files/Java/jdk*.
Execution result of *servicemix* startup script is attached below:
{noformat}
$ ./servicemix
./servicemix: line 162: /cygdrive/c/Program: No such file or directory
./servicemix: line 305: /cygdrive/c/Program: No such file or directory
./servicemix: line 305: exec: /cygdrive/c/Program: cannot execute: No such file
or directory
{noformat}
To fix the script I have surrounded executions of JAVA with *"*.
The changes are straightforward but I have attached patch for smx3 trunk.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.