A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pmd/pmd/issues/4791 below:

[cli] Could not find or load main class · Issue #4791 · pmd/pmd · GitHub

Affects PMD Version:

pmd-bin-7.0.0-rc4

Description:

Hi! GOOD DAY!

I set JAVA_HOME to C:\Users\XXX\Program Files\corretto-1.8.0_372

When I tring the CPD:

 .\pmd.bat cpd --no-fail-on-violation --minimum-tokens 30 --file-list XXX --language java --format xml

I got that:

错误: 找不到或无法加载主类 Files\corretto-1.8.0_372\lib\dt.jar;C:\Users\XXX\Program

"错误: 找不到或无法加载主类" means : Error, Could not found or load main class.

I guess it's because the JDK path is with space (space in Program Files).

Looking forward to be fixed!

Best wishes!


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4