Skip to content

Error in every java file after updating to macOS Big Sur #1700

@shucshin

Description

@shucshin

I started getting this message at the beginning of every java file that i open in vscode saying:

¨The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class filesJava(16777540)¨

The extension that causes this error is Language Support for Java™ by Red Hat

The issue appeared after the software update to macOS Big Sur and installing Windows Bootcamp. These two actions are the only things I did that i can think of since before committing those actions there was no problem. Please help.

  • Operating System: macOS Big Sur Version 11.0.1 (20B29)

  • JDK version:
    java 15.0.1 2020-10-20
    Java(TM) SE Runtime Environment (build 15.0.1+9-18)
    Java HotSpot(TM) 64-Bit Server VM (build 15.0.1+9-18, mixed mode, sharing)

  • Visual Studio Code version: 1.51.1

  • Java extension version: v0.70.0

Screen Shot 2020-11-14 at 6 26 08 PM

Screen Shot 2020-11-16 at 6 33 14 PM

Screen Shot 2020-11-16 at 6 33 27 PM

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions