Giter VIP home page Giter VIP logo

Comments (8)

acanda avatar acanda commented on June 30, 2024

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:
eclipse-pmd-properties

In the Eclipse preferences you should also see the settings for the PMD annotations if eclipse-pmd is installed correctly:
eclipse-pmd-annotations

from eclipse-pmd.

ffeisst avatar ffeisst commented on June 30, 2024

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.

acanda avatar acanda commented on June 30, 2024

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.

jbristow avatar jbristow commented on June 30, 2024

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.

acanda avatar acanda commented on June 30, 2024

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.

jbristow avatar jbristow commented on June 30, 2024

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.

ffeisst avatar ffeisst commented on June 30, 2024

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.

acanda avatar acanda commented on June 30, 2024

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.

eclipse-pmd unsupported jvm

from eclipse-pmd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.