title: SonarLint plugin not working in Eclipse Oxygen
body: <p>I am trying to get SonarLint plugin working in Eclipse but I am not having much luck.
  More specifically, I don't see any issues detected or highlighted in the "SonarLint On-the-fly" tab when looking at a simple Java class in a Java project.</p>
  
  <p>I use the following software.</p>
  
  <p><strong>OS</strong>: </p>
  
  <p>Win 10 Pro - Version 1709</p>
  
  <p><strong>Java</strong>: </p>
  
  <p>java version "1.8.0_161"</p>
  
  <p>Java(TM) SE Runtime Environment (build 1.8.0_161-b12)</p>
  
  <p>Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode)</p>
  
  <p><strong>Eclipse</strong>:</p>
  
  <p>Version: Oxygen.3 Release (4.7.3)</p>
  
  <p>Sonar software: </p>
  
  <p><strong>SonarLint Eclipse plugin</strong>: </p>
  
  <p>org.sonarlint.eclipse.site-3.4.0
  source: <a href="https://www.sonarlint.org/eclipse/" rel="nofollow noreferrer">https://www.sonarlint.org/eclipse/</a></p>
  
  <p><strong>SonarQube</strong>:</p>
  
  <p>SonarQube 7.0
  source: <a href="https://www.sonarqube.org/downloads/" rel="nofollow noreferrer">https://www.sonarqube.org/downloads/</a></p>
  
  <p><strong>SonarScanner</strong>:</p>
  
  <p>sonar-scanner-3.1.0.1141
  source: <a href="https://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner" rel="nofollow noreferrer">https://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner</a> (Windows 64 bit - link)</p>
  
  <p>I downloaded the SonarLint Eclipse plugin and successfully installed it in Eclipse. I can see all the SonarLint tabs and configuration options. </p>
  
  <p>I downloaded and successfully setup SonarQube server (localhost on the default port 9000). I also downloaded and set up Sonar Scanner. </p>
  
  <p>I created a simple Java project in Eclipse and I created a Java class in it. I added the sonar-project.properties file to the Java project. </p>
  
  <p><strong>sonar-project.properties</strong></p>
  
  <pre><code># must be unique in a given SonarQube instance
  sonar.projectKey=sp
  # this is the name and version displayed in the SonarQube UI. Was mandatory prior to SonarQube 6.1.
  sonar.projectName=Simple Project
  sonar.projectVersion=1.0
  
  # Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
  # This property is optional if sonar.modules is set. 
  sonar.sources=.
  
  # Encoding of the source code. Default is default system encoding
  #sonar.sourceEncoding=UTF-8
  </code></pre>
  
  <p>My Eclipse Java project looks like this:</p>
  
  <p><a href="https://i.stack.imgur.com/3lavt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3lavt.png" alt="enter image description here"></a></p>
  
  <p>I have set up my project bindings successfully.</p>
  
  <p><a href="https://i.stack.imgur.com/ybZ4a.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ybZ4a.png" alt="enter image description here"></a></p>
  
  <p>I can start the SonarQube and login without issues. 
  I navigated to the location of my "Simple Project" in Windows Explorer and opened a Windows PowerShell from there.</p>
  
  <p>I executed the command <strong>sonar-scanner</strong> in the Windows PowerShell which successfully scanned the <strong>Simple Project</strong> and I can see the results in my SonarQube server.</p>
  
  <p><a href="https://i.stack.imgur.com/2dnkQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2dnkQ.png" alt="enter image description here"></a></p>
  
  <p>So all is good so far. BUT... There is no indication of issues in Eclipse. I don't see any issues under the SonarLint On-the-fly tab in Eclipse.</p>
  
  <p><a href="https://i.stack.imgur.com/Zi0F9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Zi0F9.png" alt="enter image description here"></a></p>
  
  <p>I do have "Run SonarLint automatically" enabled (checked) and I also tried to manually analyze the App.java file by <em>right-clicking on the file > SonarLint > Analyze</em>.</p>
  
  <p>I see no issues underlined in either the code or listed in the "SonarLint On-the-fly" tab. I must be missing a step somewhere. Could anyone please give me any tips how to get the automatic SonarLint issue detection working in Eclipse?</p>
  
  <p>Thank you!</p>