Coverity Analysis for Java supports the analysis of Java code that is built in two ways:
- [Recommended] Using
cov-build. For information about this build mode, see the section "Build capture (for compiled languages)" in the Coverity Analysis User and Administrator Guide, and see thecov-buildcommand documentation in the Coverity Command Reference. - Using buildless or filesystem capture. For information about these build modes, see
the section "The capture" in the
Coverity Analysis User and Administrator Guide, and see
the
cov-emit-javacommand documentation in the Coverity Command Reference.
| Host OS | Compiler | Compiler version | Notes |
|---|---|---|---|
| Linux (64-bit)/Linux ARM64/Windows (64-bit) | OpenJDK | 1.8, 21, 25, 26 |
Deprecation notice: Support for Oracle JDK 1.8 is deprecated as of 2026.9.0 and support for it will be removed in a future release. Deprecation notice: Support for Oracle JDK 26 is deprecated as of 2026.9.0 and support for it will be removed in a future release. |
| macOS/Linux (64-bit)/Windows (64-bit) | Oracle JDK |
macOS on Intel: To ensure a complete capture, version 12-16 of Xcode (with command line
tools) must be installed. Also, ensure that macOS on Apple silicon: Build capture requires both Rosetta 2 and Xcode
(with command line tools) 12 - 16 in order to function.
Please ensure Deprecation notice: Support for Oracle JDK 1.8 is deprecated as of 2026.9.0 and support for it will be removed in a future release. Deprecation notice: Support for Oracle JDK 26 is deprecated as of 2026.9.0 and support for it will be removed in a future release. |