-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use JAVAFX_HOME to locate java executable #86
Comments
With zulu22.30.13-ca-fx-jdk22.0.1-linux_x64, after running
|
I'm moving this issue to pmd/pmd-designer, as this is about running the PMD Designer and not PMD itself. |
@delanym Please refer to https://docs.pmd-code.org/latest/pmd_userdocs_extending_designer_reference.html for how to setup JAVAFX_HOME. Currently, we either support Oracle Java 8 (which includes javafx and predates java modules) or we support any OpenJDK without JavaFX + separate JavaFX (pointed to with JAVAFX_HOME). The zulu builds of openjdk+javafx have integrated JavaFX as a module, which we don't support yet. I think, this is essentially the problem described in #71 - which I'll rename now. For your problem at hand: E.g.
I'm closing this as a duplicate of #71. |
Thanks. I get a warning |
Hi. I ran pmd v7.1.0 and was told missing JAVAFX_HOME.
I set the env var and ran it again and was told
No java executable found in PATH
If pmd is going to depend on an env var for locating the JDK then it should search for Java from there, not the path.
The text was updated successfully, but these errors were encountered: