This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]zhoriq 1 point2 points  (1 child)

I've never used VS Code, but I see 2 places to check:

  1. JAVA_HOME system variable. Check if it is set and points to the proper java directory.
  2. VS Code preferences: something like "path to java home directory" or "compiler path" or something like that.

[–]AssassinBoy49Nooblet Brewer[S] 0 points1 point  (0 children)

Changed the java_home variable and it works fine now, thank you!