I want to analyse project with SonarQube
while doing this it gives me a error message saying
Error during execution of Sonar Error status [command: C:\Program Files (x86)\Java\jdk1.6.0_18\jre\bin\java.exe -cp C:\Users\qfrg\AppData\Local\Temp\sonar-runner-impl7722306846094038579.jar org.sonar.runner.impl.BatchLauncherMain C:\Users\qfrg\AppData\Local\Temp\sonar-project6654886318444556353.properties]: 1
In the console log i see this :
Caused by: org.sonar.api.utils.SonarException: The plugin javascript is not supported with Java 1.6.0_18
Caused by: java.lang.UnsupportedClassVersionError: org/sonar/plugins/javascript/JavaScriptPlugin : Unsupported major.minor version 51.0
I installed plugins for findbugs, checkstyle, PMD and M2Eclipse successfully before installing sonarqube, but after installing sonarqube, when i tried to add them again they say that
Unable to connect to repository http://eclipse-cs.sourceforge.net/update/compositeContent.xml Connection to http://eclipse-cs.sourceforge.net refused
Please find my version and plugin details:
java:
java version "1.6.0_18" Java(TM) SE Runtime Environment (build 1.6.0_18-b07) Java HotSpot(TM) Client VM (build 16.0-b13, mixed mode, sharing)
maven:
Apache Maven 3.0.3 (r1075438; 2011-02-28 23:01:09+0530) Maven home: C:\dev\apache-maven-3.0.3-bin Java version: 1.6.0_18, vendor: Sun Microsystems Inc. Java home: C:\Program Files (x86)\Java\jdk1.6.0_18\jre Default locale: en_US, platform encoding: Cp1252 OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"
and
SonarQube Server 4.5.4
Eclipse : Kepler Service Release 2
And i am using TFS as source control Where am i going wrong ? Is this the problem with java version ? As, I have seen in some sites that it worked for them when upgraded to 1.7 version of java
Any help greatly appreciated