Skip to content

VSCode shows errors in Java source: unresolved imports #2352

Answered by tgodzik
hmf asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for reporting! The issue here is that Metals does not find JDK sources, which might not be installed by default on your machine. The only problem it will have is not jumping to JDK sources, everything else should work.

There is some info here on how to install them: https://askubuntu.com/questions/755853/how-to-install-jdk-sources

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@hmf
Comment options

@tgodzik
Comment options

@hmf
Comment options

Answer selected by hmf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants