Skip to content

Dev Containers settings example uses deprecated java.home setting #10739

Done

Description

The Default container specific settings example in the Dev Containers docs sets java.home in devcontainer.json:

"settings": {
    "java.home": "/docker-java-home"
}

The Java extension has deprecated java.home in favor of java.jdt.ls.java.home. Its package.json marks it with "deprecationMessage": "This setting is deprecated, please use 'java.jdt.ls.java.home' instead.", so anyone copying this example gets a deprecation warning in their container settings.

Suggested fix: use java.jdt.ls.java.home in the example.

Happy to send a PR.

Activity

  1. dhananjay6561 commented on Nov 21, 2026

    @dhananjay6561
    ContributorAuthor

    Opened #10740 with the fix. cc Nick Trogh (@ntrogh) for review.

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