Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-1914

ServiceMix fails to start when JAVA is installed under path containing spaces

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.3.2
    • servicemix-assembly
    • None
    • Windows XP; JDK 1.6.0 update 16

    • Patch Available

    Description

      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:

      $ ./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
      

      To fix the script I have surrounded executions of JAVA with ".

      The changes are straightforward but I have attached patch for smx3 trunk.

      Attachments

        1. startup-fix.patch
          0.8 kB
          Michał Mally

        Activity

          People

            jb@nanthrax.net Jean-Baptiste Onofré
            michal.mally Michał Mally
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: