Skip to content
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

[cli] Launch fails for "bash pmd" #4723

Closed
jsotuyod opened this issue Oct 19, 2023 · 0 comments · Fixed by #4640
Closed

[cli] Launch fails for "bash pmd" #4723

jsotuyod opened this issue Oct 19, 2023 · 0 comments · Fixed by #4640
Labels
a:bug PMD crashes or fails to analyse a file.
Milestone

Comments

@jsotuyod
Copy link
Member

Tthis is the problem:

PMD_HOME=/home/andreas/PMD/binaries/pmd-bin-7.0.0-rc3
PATH=${PMD_HOME}/bin:$PATH
bash pmd

/home/andreas/PMD/binaries/pmd-bin-7.0.0-rc3/bin/pmd: line 62: pushd: ./../lib: No such file or directory
/home/andreas/PMD/binaries/pmd-bin-7.0.0-rc3/bin/pmd: line 64: popd: directory stack empty
/home/andreas/PMD/binaries/pmd-bin-7.0.0-rc3/bin/pmd: line 84: pushd: ./../conf: No such file or directory
/home/andreas/PMD/binaries/pmd-bin-7.0.0-rc3/bin/pmd: line 86: popd: directory stack empty
Error: Could not find or load main class net.sourceforge.pmd.cli.PmdCli
Caused by: java.lang.ClassNotFoundException: net.sourceforge.pmd.cli.PmdCli

A PR exists for this in #4640

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:bug PMD crashes or fails to analyse a file.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant