@@ -21,8 +21,8 @@ rules. Main features:
2121The designer is part of PMD's binary distributions. To install a distribution, see the
2222[ documentation page] ( https://docs.pmd-code.org/latest/pmd_userdocs_installation.html ) about installing PMD.
2323
24- The app needs JRE 1.8 or above to run. Be aware that on JRE 11+, the JavaFX distribution should be installed
25- separately . Visit [ the download page ] ( https://gluonhq.com/products/javafx/ ) to download a distribution,
24+ The app needs either Oracle Java 8 (which includes JavaFX) or OpenJDK 11+ and a separately installed
25+ OpenJFX distribution . Visit [ JavaFX - Gluon ] ( https://gluonhq.com/products/javafx/ ) to download an SDK distribution,
2626extract it, and set the ` JAVAFX_HOME ` environment variable.
2727
2828If the ` bin ` directory of your PMD distribution is on your shell's path, then you can ** launch the app** with
@@ -32,7 +32,7 @@ If the `bin` directory of your PMD distribution is on your shell's path, then yo
3232Alternatively, you can launch the program "from source" with Maven.
3333* ` $ ./mvnw -Prunning exec:java ` will launch the program after compiling it, using the JavaFX distribution of your system
3434* ` $ ./mvnw -Prunning,with-javafx exec:java ` will also add JavaFX dependencies on your classpath.
35- You can change the version of those dependencies with eg ` -Dopenjfx.version=13 ` for OpenJFX 13 .
35+ You can change the version of those dependencies with eg ` -Dopenjfx.version=21.0.2 ` for OpenJFX 21 .
3636See the list of available versions [ here] ( https://search.maven.org/artifact/org.openjfx/javafx ) .
3737
3838### Updating
@@ -62,6 +62,7 @@ The `pmd.core.version` property selects the version of pmd-core *and pmd-java*
6262that will be included. The built jar can then be found in your ` target ` directory.
6363** Such a jar cannot be used in a PMD distribution** and must be used in a
6464standalone fashion, otherwise classpath conflicts may arise.
65+ You can additionally enable the profile ` with-javafx ` to include openjfx as well.
6566
6667You should never run the ` install ` goal with the ` -Dfat-java ` property! This
6768would install the fat jar in your local repo and may cause dependency conflicts.
0 commit comments