sonar plugin / Java 6 / eclipse Kepler

834 views
Skip to first unread message

lion...@gmail.com

unread,
May 21, 2016, 10:26:59 AM5/21/16
to SonarLint
Hello,
I'm trying to use a sonar plugin for a java project running on JAVA 1.6.0.33 (I know it's old but any change on the java version of the project is not going to happen soon)
I have both Eclipse Juno & Kepler installed.
I have a Sonar 3.7.4 running locally (I can use another version if needed)
I am trying to install any sonar plugin that could work within this environment, but for now, none of them when installed give me any new menu or option.


Can you tell me what I'm doing wrong and show me the way to a Java 1.6 compatible Eclipse with a functional Sonar plugin ?
Any hint would be much appreciated.ThanksRegards, A.

Julien HENRY

unread,
May 23, 2016, 5:29:02 AM5/23/16
to SonarLint, lion...@gmail.com
Hi,

Java 6 is not supported for a long time. Eclipse is perfectly able to support different JDK per project. You should:
  - install a JDK 7 (or better 8) on your computer and configure Eclipse to run with it (-vm argument in eclipse.ini)
  - install a JDK 6 and configure your projects in Eclipse to build with it

This way you can use recent development tools like SonarLint while still building your project for an older Java version.

++

Julien
Reply all
Reply to author
Forward
0 new messages