Comments (8)
I couldn't reproduce the problem with eclipse-pmd 0.7 on Eclipse Kepler for Java Developers (Linux 32bit) running on Ubuntu 12.04.
Please check if you're looking for the PMD page in the project properties dialog and not in the Eclipse preferences. It should look like this:
In the Eclipse preferences you should also see the settings for the PMD annotations if eclipse-pmd is installed correctly:
from eclipse-pmd.
I have tried it again, with a fresh eclipse kepler installation and a fresh workspace. Installation runs without errors, and eclipse installation details indicate that the plugin is installed. However, still no PMD properties page (in project properties) and no "PMD Violations" annotation in the editor configuration.
Also tried eclipse indigo and eclipse kepler under windows but still the same result.
from eclipse-pmd.
If you can zip up both your Windows Eclipse installation and the workspace with the project, upload it to Dropbox or some other cloud drive and send me the link, I'll take a look and try to find the problem.
from eclipse-pmd.
Same issue is occurring on mac. Fresh 64bit J2EE install (on a mac I just recieved two days ago). http://www.mediafire.com/download/pishyvl7jz681xn/pmd-nonfunct-example-mac.tar.bz2
from eclipse-pmd.
Thank you for uploading your Eclipse installation, Jon. It helped me to reproduce the problem: if you use a JRE version 6 or older to run Eclipse then eclipse-pmd won't be available as it requires a JRE 7 to run.
You can check the JRE version by opening the installation details (in Eclipse: Help
> Installation Details
> Configuration
) and looking for the entry java.version
. If its value is not '1.7.0_xx' then you should specify your Eclipse installation to run with a JRE 1.7.
Please let me know if this fixes the issue.
from eclipse-pmd.
Ugh, a lack of out-of-the-box support for mac is pretty bad. What about 7 do we need to run this? Could you recompile in 6?
Also, why does this install ok on JRE6? No warning/errors to the front end?
from eclipse-pmd.
Using JRE 1.7 solved the problem for me. However, support for older JREs, at least for 1.6, would be good.
from eclipse-pmd.
Unfortunately it is not possible to recompile eclipse-pmd for Java 6 as it uses the Java 7 API. Rewriting those parts to be Java 6 compatible would be a major effort. Since Java 6 has reached its end of life almost a year ago and a JRE 7 has been available for all major platforms for over two years the JRE 7 requirement will not be changed.
As Eclipse happily installs plug-ins that will not run due to their runtime requirements, eclipse-pmd (v0.8+) will show a message on the PMD property page explaining the situation and how to resolve it.
from eclipse-pmd.
Related Issues (20)
- An error occurred while automatically activating bundle ch.acanda.eclipse.pmd.core HOT 3
- Eclipse Neon (4.6) install through marked but nothing shows up HOT 2
- Diff to pmd/pmd-eclipse-plugin HOT 3
- Improve ruleset feedback HOT 2
- Remote ruleset: rules caching/refresh frequency? HOT 2
- Automatically update workspace relative configurations when the project name changes
- The rule set configuration at the given location is invalid HOT 9
- Eclipse PDT. Cannot change PMD nature of project <projectName> HOT 2
- New releases HOT 3
- Release 1.9 HOT 9
- XML parsing problem in Eclipse Oxygen HOT 1
- NoClassDefFoundError with version 1.12 in Eclipse Photon
- pmd can not find my enum class (configure auxclasspath) HOT 2
- eclipse-pmd 1.14 depends on pmd 6.6.0 and asm 6.1.1, but pmd 6.6.0 depends on asm 6.2 HOT 1
- Cannot use apex rules HOT 1
- Problem installing on STS 4 HOT 2
- Bug: After importing an exising project, no more PMD checks were performed HOT 2
- Bug: ruleset of other projects are also listed HOT 2
- Developer should be able to exclude violation HOT 4
- Use Rulesets with unkonwn rules (from newer PMD versions) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eclipse-pmd.