I have installed PMD in Eclipse Kepler using Eclipse market place.
But I am unable to access it after the installation.
When I go to Window → Preferences and search for PMD, I get no results.
Is there any other plugin available for source code cleanup?
Or: What needs to be done to install PMD in Kepler?
Thanks
I found the PMD plugin that installs through Eclipse Marketplace to be harder to use than the standalone one. Install available by an Eclipse update site here.
I've tried all these suggestions and now i have it working in Kepler; here's how to do it:
I made sure my Eclipse Kepler instance was using Java 7--it was.
The link from the eclipse marketplace did not work. It would show a PMD option for the individual projects properties, but there were no rules to select from. Also the main workspace preferences were not showing up.
I had to install it using this update site, as Jeanne Boyarsky mentioned:
http://sourceforge.net/projects/pmd/files/pmd-eclipse/update-site/
Restart Kepler.
The PMD option now shows up in the Windows->Preferences->PMD
The PMD project menu now shows up when right clicking on the project.
The install information on the web site for this plugin http://acanda.github.io/eclipse-pmd/getting-started.html says you must open the Properties for a project and look at the PMD tab.
If you've installed the PMD plug-in using the Eclipse market place then you're using eclipse-pmd which requires Eclipse to run on a JVM version 7 or later. If you're running Eclipse on a JVM version 6 or earlier and you're using eclipse-pmd 0.7 or earlier the PMD property page won't be visible.
To solve this problem you have to run Eclipse on a JVM version 7 or later. To change the JVM on which Eclipse runs you have to set the parameter -vm in your eclipse.ini accordingly. The Eclipse Wiki explains how to specify the JVM.
Related
PDM brings xerces jar which is not compatible with java 8 - this has been reported here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=432118
This is the PMD plugin that I wouyld like to use: http://sourceforge.net/projects/pmd/files/pmd-eclipse/update-site/
Is there a way to install PMD in eclipse 4.3/4.4 on java 8?
https://sourceforge.net/p/pmd/bugs/1210/ shows current status of the fix (closed), and has the repository location to install the current snapshot version, and says the fix will be released in 4.0.4. I added the updatesite to my install locations and installed the snapshot (dated 7/29), now I have my PMD preferences/menus/perspective back in Luna 4.4 running JDK8. Thanks so much for the trunk tip.
This is a PMD bug - they have already fixed it in trunk, I've tested it and it works fine. The problem was, that it had transitive dependency to old xerces lib.
Had PMD plugin installation problem with Eclipse Luna 4.4.2 when I installed PMD directly from Eclipse marketplace.
To solve this,
I uninstalled the plugin and used the following link to choose 4.4 eclipse PMD plugin.
http://sourceforge.net/projects/pmd/files/pmd-eclipse/update-site/
It worked!
This is the Solution:
If you have previously installed a version of the PMD Eclipse plugin prior to November 2012, then you should remove/uninstall it first. To install the PMD for Eclipse plugin:
In Eclipse, click on Help -> Install New Software...
Click on Add..
Enter the following:
Name: PMD for Eclipse Update Site
URL: http://sourceforge.net/projects/pmd/files/pmd-eclipse/update-site/
and click OK.
You should see PMD for Eclipse 4. Select the checkbox next to it and click Next >.
You'll need to accept the license and confirm you want to install a plugin that is not digitally signed. Go ahead and install it anyway.
Restart eclipse
I had just installed FindBugs plugin for Eclipse. My Eclipse is Juno. I am using Windows 7.
It shows up at Help -> about Eclipse -> Installed Software as FindBugs Feature
However it does not exist on Project Properties.
I had tried to run eclipse as Administrator, installing from either marketplace or manual.
But no luck.
I use a copied Eclipse (without installation) at Desktop.
Any thought on how to shows the FindBugs in project properties?
Thanks
Just in case you haven't figured out yet, and so it might help others like me.
If you are installing a version of Eclipse FindBugs 3.0 or greater, then it's only supported on Java 7.
Update your JDK to 7.0 and you will see Findbugs show up as a part of your properties. Wasted a lot of hours on this one.
I had same problem. I am using Kepler + windows 7 + jdk1.5. This got resolved with jdk update from 1.5 to 1.7.
May be it has dependency on 1.7 but there was no error message and like you said it was not visible in preference.
Check out this tutorial:
http://www.vogella.com/tutorials/Findbugs/article.html
I am using Eclipse Kepler in Windows 7, but it shouldn't make any difference.
There is also a FindBugs entry in context menu (right click project, under Import and Export options, in my case)
Edit your eclipse.ini file (you can find it in your eclipse installation folder) and change or add (if it does not exist) the -vm parameter value to a Java 7 JDK. More info here.
All other answers (installing latest Java, Eclipse update, adding '-vm ...' to the .ini-file did not work for me.
I solved it by clicking "Window"->"Perspective"->"Open Perspective"->"Other..."->"FindBugs".
Then switch back to 'Java'-perspective. Now the menu is available when you right-click the project.
I have successfully installed PMD in JUNO(Eclipse) but not able to see it in the properties.
I want to run the Project on PMD.
Actually the confusion point is that for PMD you have to enable it first by clicking on properties of each project.
select project-> Properties-> select PMD-> enable
This is the gernaral issue many have faced this. you can check screen shot in below answer as well.
After Installing PMD in Luna in Prespective it is Not Showing?
There are two PMD plug-ins for Eclipse: PMD for Eclipse and eclipse-pmd.
If you've installed the PMD plug-in using the Eclipse marketplace then you're using eclipse-pmd which requires Eclipse to run on a JVM version 7 or later. If you're running Eclipse on a JVM version 6 or earlier and you're using eclipse-pmd 0.7 or earlier the PMD property page won't be visible.
To solve this problem you have to run Eclipse on a JVM version 7 or later. To change the JVM on which Eclipse runs you have to set the parameter -vm in your eclipse.ini accordingly. The Eclipse Wiki explains how to specify the JVM.
I'm struggling to get the Eclipse FindBugs plugin to work and am sure there's a schoolboy error being made somewhere.
I extracted the file findbugs-2.0.2-rc2.zip to a local folder C:\Program Files\findbugs-2.0.2-rc2 and running findbugs.bat, FindBugs works fine running it over a local Java (Eclipse) project.
I added the FindBugs update site, it found "FindBugs Feature, 2.0.1.20120712" and installed it. Restarting, right-clicking on an open Java Project doesn't display the "FindBugs" option (that this video shows).
I looked in Window > Preferences to try to find a way to inform the plugin of the local FindBugs installation (in Program Files), but couldn't find anything.
Uninstalling "FindBug Feature", I tried extracting the FindBugs Eclipse plugin zip file into Eclipse's plugins folder, but after a restart, saw no difference.
Help > About Eclipse > Installation Details > Installed Software lists "FindBugs Feature 2.0.1.20120712".
Can anyone please offer a pointer on where I'm going wrong here? Thanks!
Windows 7, Eclipse IDE for Java EE Developers Juno SR1, JDK 1.7.0_09, FindBugs 2.0.2-rc2
As suggested above, problem is likely caused by not having appropriate write access to the C:\Program Files\Eclipse\plugins folder.
Solution:
Close Eclipse. Restart Eclipse as Administrator (right click - Run as Administrator). Reinstall plugin. Restart Eclipse.
It looks like the Findbugs plugin wasn't installed properly and/or disabled by Eclipse. There can be several causes.
Multiple versions of the same plugin. To make sure this isn't the case, remove all Findbugs versions (installed manually and via the marketplace), and reinstall one (preferably via the marketplace). Watch for any warnings during installation.
There is a (dependency) conflict with another plugin. However, if this is the case I think Eclipse will warn in the log which other plugin is the cause of the conflict.
Rights problem. Make sure you have write permissions in the main Eclipse folder and all it's child folders.
I remember reading somewhere that installing Eclipse under the C:\Program Files\ in Windows can also be causing problems. Try moving Eclipse to a different folder, e.g. C:\Eclipse
Hi I also faced the similar problem but from my own experience i can suggest you the solution :-
Plz ensure that you are using eclipse version 3.6 or higher. findbugs 2.0 is not compatible with Eclipse 3.5(Eclipse Galileo).
1) Plz extract the findbugs zip file into eclipse folder(wher your eclipse is installed). This will automatically move findbug plugins into eclipse plugins folder. Restart the eclipse and you will find findbugs option on right clicking on project.
2) if 1 step does not work plz remove all the findbug jars for the eclipse plugins folder and place the complete folder into the eclipse dropins folder. Restart the eclipse and you will see the difference.
You can follow these step's to make findbugs work in your eclipse.
1.Install FireBug plugin from marketplace.
Help->Eclipse Marketplace ->then search for FindBugs
2.Configure FindBug for your project
using Maven Without Maven
This worked fine for me using eclipse juno.
I am new to Eclipse so I am having a hard time troubleshooting this problem. I have a new installation of Eclipse Java EE - Galileo on Windows, and I am unable to see any changes made in the IDE after installing plugins. I have verified that the plugins are installed via installation details, but see no changes made.
For example, after installing the maven integration plugin m2eclipse I go to File->New->Project ... and I have no option for maven. After installing the QuickRex plugin I have no view for it etc.
I have tried re-installing the plugins, re-installing Eclipse, and starting Eclipse with the -clean option, but nothing has resolved the issue.
Any ideas? Thanks!
Ok. This is just a wild guess but could you start over with a fresh install and make sure that you uncheck the option Contact all update sites during install to find required software as shown below:
alt text http://img717.imageshack.us/img717/8039/screenshot003ao.png
I faced a similar problem (on another platform than yours), some updates were "disabling" all my plugins. Not checking this option allowed me to work around this issue.
Follow-up: You'll need to install that Zest stuff manually from the GEF update site:
alt text http://img339.imageshack.us/img339/8003/screenshot003rl.png