Closed
Description
Describe the bug
That happened when openjdk 17 was installed via homebrew. Installing it manually seems to have jmods folder set. However, even without the jmods folder, the user can run a successful mvn install.
Steps To Reproduce
Steps to reproduce the behavior:
- Install openjdk@17 using homebrew
brew install openjdk@17
- Uninstall/rename sdkman temporarily (
mv ~/.sdkman ~/.sdkman.bak
) - Run codeanalyzer
java -jar /path/to/codeanalyzer-1.0.10.jar ...
Observed behavior
java.nio.file.NoSuchFileException: /opt/homebrew/opt/openjdk@17/jmods
when running via codeanalyzer.
Expected behavior
Screenshots
Environment (please complete the following information):
- OS: macOS 15.1
- Version of Java: 17
- Version of Maven: 3+
- Version of Gradle: 6+
Metadata
Metadata
Assignees
Labels
No labels