bojangles
bojangles

Reputation: 51

Can't get Eclipse Kepler CheckStyle plugin to work

I am downloading it from here: http://eclipse-cs.sourceforge.net/update/ - Checkstyle version 6.2.0.20150

My eclipse build is: 4.3.2

I have tried downloading it from both the marketplace and the website above, though both ways do not create a "checkstyle" link in the preferences window.

Anyone have any idea what's going on here?

Upvotes: 2

Views: 1092

Answers (1)

G. Demecki
G. Demecki

Reputation: 10596

I've also encountered the mentioned problem. But the reason is simple. In the release notes we can read:

Please note that as of this version Java 7 is the minimum runtime environment supported. This requires you to run Eclipse on a Java 7 (or newer) JVM in order to use this plugin version.

Checkstyle since version 6.2.0 (released in January 2015) needs Java 7 as the minimum runtime environment.

So in order to run Eclipse on a Java 7, you can for example edit eclipse.ini file and add at the beginning something like:

-vm
C:\Program Files\Java\jdk1.7.0_75\bin\javaw.exe

Your exact path to javaw.exe could be different, of course. Alternatively make JDK 7 (or newer) as the default JVM for your system.

Upvotes: 1

Related Questions