Skip to content

JDK on PATH environment variable is not detected #1391

Description

@soloturn

Environment:

  • VS Code Version:
  • Extension Version: v0.29.0
  • JDK Type & Version: OpenJDK 64-Bit Server VM (build 21+35-2513, mixed mode, sharing)
Version: 1.94.2 (user setup)
Commit: 384ff7382de624fb94dbaf6da11977bba1ecd427
Date: 2024-10-09T16:08:44.566Z
Electron: 30.5.1
ElectronBuildId: 10262041
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: 12.4.254.20-electron.0
OS: Windows_NT arm64 10.0.26100

Step to Reproduce:

  • install openjdk and put it on the path
  • do NOT set JAVA_HOME
  • start vscode, install extension

Expected Behavior:

  • extension installs and works

Actual Behavior:

  • complains about missing java

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions