Skip to content

Code analyzer fails when jmods is not found #39

Closed
1 of 1 issue completed
Closed

Description

@fabio-franco

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 but it fails with Caused by: java.nio.file.NoSuchFileException: /opt/homebrew/opt/openjdk@17/jmods when running via codeanalyzer.

Activity

  1. rahlk commented on Jul 11, 2024

    @rahlk
    Collaborator

    Since you are using homebrew, please set JAVA_HOME=/opt/homebrew/opt/openjdk@17/libexec/openjdk.jdk/Contents/Home/

    odd, but this should fix it.

  2. rahlk commented on Jul 23, 2024

    @rahlk
    Collaborator

    closing since this has been resolved.

  3. reopened this on Jan 24, 2025
  4. rahlk commented on Jan 24, 2025

    @rahlk
    Collaborator

    Reopening this to find a better fix

  5. rahlk commented on Jan 24, 2025

    @rahlk
    Collaborator

    Solved PR #96

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions