Uploaded image for project: 'SonarLint for Visual Studio Code'
  1. SonarLint for Visual Studio Code
  2. SLVSCODE-207

Try to find a Java 11 runtime when there are several available

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      The current auto-detection of the Java runtime relies on the find-java-home NPM package, which works well when there is only one JRE installed, but does not allow to specify a version to look for.

      This can be annoying when there are several Java runtimes available on a machine (e.g when using jEnv or sdkman): find-java-home might return a Java 8 runtime, even though more recent versions are installed.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            jeanbaptiste.lievremont Jean-Baptiste Lievremont
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: