Skip to content

Cannot really use the right jdk version without cleaning the workspace #966

Closed

Description

@bsaby
Environment
  • Operating System: Windows
  • JDK version: 1.8.0_211 and 12.0.1
  • Visual Studio Code version: 1.35.1
  • Java extension version: 0.46.0
Steps To Reproduce
  1. Open a java12 invisible project
  2. Change the local JDK version from 8 to 12
  3. Reopen the project in VSCode again

[attach a sample project reproducing the error]
invisble-project.zip

Current Result
  1. There is still an error in the source code, the compilation failed
  2. After cleaning java language server workspace, compile again, works

image

Expected Result

Works without cleaning java language server workspace

Activity

  1. robstryker commented on Nov 2, 2026

    @robstryker
    Contributor

    old and stale.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions