scovetta / yasca

Yet Another Source Code Analyzer
184 stars 61 forks source link

Java version checking fails with OpenJDK #24

Open mykael22000 opened 3 years ago

mykael22000 commented 3 years ago

I had OpenJDK 11. something installed and Ysaca was giving me ERRORS for FindBugs and PMD complaining about the Java level.

Switched to IBM JDK 8 and it's working now.

Problem seems to be in how it parse the response to "java - version" in the environment class.