I've been trying to install java on vs code for a couple hours now and I can't seem to get it to work. I've already downloaded all the extensions necessary and I've downloaded the coding pack from
and this is the output when I click that run button in the top right:
Does anybody have any suggestions? the coding pack was supposed to come with a jdk, its working for everybody else so I'm not sure what the issue is.
CodePudding user response:
It seems like you don't have correctly installed java sdk
on your system.
Try to check java sdk
installation with following commands:
java --version
javac --version
In case you don't see reasonable output, try to install java sdk
,
go to the Java