code: private String extractArguments( final SystemPropertyOption[] systemProperties,
                                       final VMOption[] vmOptions )
      {
          final StringBuilder argument = new StringBuilder();
          if( systemProperties != null && systemProperties.length > 0 )
          {
              for( SystemPropertyOption property : systemProperties )
              {
                  if( property != null && property.getKey() != null && property.getKey().trim().length() > 0 )
                  {
                      if( argument.length() > 0 )
                      {
                          argument.append( " " );
                      }
                      argument.append( "-D" ).append( property.getKey() ).append( "=" ).append( property.getValue() );
                  }
              }
          }
          if( vmOptions != null && vmOptions.length > 0 )
          {
              for( VMOption vmOption : vmOptions )
              {
                  if( vmOption != null && vmOption.getOption() != null && vmOption.getOption().trim().length() > 0 )
                  {
                      if( argument.length() > 0 )
                      {
                          argument.append( " " );
                      }
                      argument.append( vmOption.getOption() );
                  }
              }
          }
          if( argument.length() > 0 )
          {
              argument.insert( 0, "--vmOptions=" );
          }
          return argument.toString();
      }
docs: Converts system properties and vm options into corresponding arguments (--vmOptions).
  
  @param systemProperties system property options
  @param vmOptions        virtual machine options
  
  @return converted Pax Runner argument