Skip to content

maven.terminal.useJavaHome looks at java.home #1041

Open

Description

Describe the bug
The setting maven.terminal.useJavaHome looks at java.home which is deprecated and should look for java.jdt.ls.java.home

To Reproduce
Steps to reproduce the behavior:

  1. Configure java.jdt.ls.java.home in a workspace settings file
  2. Configure maven.terminal.useJavaHome to true in the same settings file
  3. use maven command

Expected behavior
The maven plugin would check the current VS Code java home setting.

Environments (please complete the following information as much as possible):
Version: 1.91.1 (user setup)
Commit: f1e16e1e6214d7c44d078b1f0607b2388f29d729
Date: 2024-07-09T22:06:49.809Z
Electron: 29.4.0
ElectronBuildId: 9728852
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Windows_NT x64 10.0.22631

Screenshots

Additional context
Developing Java projects that use installations of Java, Tomcat and Maven relative to my workspace.

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

Metadata

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