Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8336443
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T03:59:36+00:00 2026-06-09T03:59:36+00:00

SONAR newbie roadblock: I just installed SONAR on windows XP. Was able to configure

  • 0

SONAR newbie roadblock:

  1. I just installed SONAR on windows XP. Was able to configure it as a service and get the server running.
  2. Then I installed sonar-runner (in a directory named sonar-run), created a sonar-project.properties in root, and configured it to point to my Java src project at C:\sonar-run\src.

  3. Tried running from my Java project src directory – C:\sonar-run\src>..\bin\sonar-runner

First it failed with the message

Unable to resolve path '"C:sonar-runsrc"'

so I escaped the path with extra backslashes "C:\\sonar-run\\src", then I am stuck at this error:

C:\sonar-run\src>..\bin\sonar-runner
C:\sonar-run
Runner configuration file: C:\sonar-run\conf\sonar-runner.properties
Project configuration file: C:\sonar-run\src\sonar-project.properties
Runner version: 1.3
...
...

Exception in thread "main" org.sonar.batch.bootstrapper.BootstrapException: org.sonar.api.utils.SonarException: Unable to resolve path '"C:\sonar-run\src"'
        at org.sonar.runner.Runner.delegateExecution(Runner.java:189)          
Caused by: org.sonar.api.utils.SonarException: 
Unable to resolve path **'"C:\sonar-run\src"'**

What I think is the error : something to do with Unix/Windows/path/escape sequence.

Observation : earlier I was using C:\runsonar as the folder name and it was escaping \r as a special character.


CONCLUSION: Though this is a localized error I faced, these are the learnings for SONAR newbies:

  1. When you are sonar-runner as the client program , you need to understand SONAR was designed for *nix, so how it behaves in Windows is different and not clearly documented
  2. In the properties file> windows path for src > you need to escape the \
  3. If you path contains a folder starting with r. e.g \src\red then even after escaping like src\\red it will become src \r ed which means a return character, so on for \n etc.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T03:59:37+00:00Added an answer on June 9, 2026 at 3:59 am

    You have to remove the double quotes in the properties file
    The error message says
    Unable to resolve path ‘“*C:\sonar-run\src“*’

    Your entry should look like
    C:\sonar-run\src

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have installed Sonar and configured it to analyze our (.NET) projects (using Sonar-Runner).
I just installed Sonar 3.2 on CentOS (uname -a = Linux mydomain.com 3.2.20-1.29.6.amzn1.x86_64). I'm
Problem I have just installed the Sonar Jenkins plugin. I went into my configured
I installed the sonar plugin for eclipse using this [guide][1]. I configure my android
I have installed sonar and it works on http://localhost:9000 When I want to analyze
I am running sonar from Jenkins. I want to exclude some java files in
I want to use sonar for analysis but i can't get any data in
We are new to Sonar and just downloaded v2.13.1 and got it up and
i am using sonar 2.6 and on running the command: mvn site cobertura:cobertura i
When I start Sonar (StartSonar.bat), I get the following error in the log file.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.