2

I've tried setting up VS Code so many times. But it just does not point to the right shady path. I think I messed up something in one of the previous installations.

So now every time I just try to run a Java program, this is the error that pops up. Is there any way I can fix this by making some changes in the settings?

I've also installed the extension which is a complete package for Java development in VS Code.

enter image description here

1 Answer 1

2

This helped me :

You can try following this. https://code.visualstudio.com/docs/java/java-tutorial


Also, try going to settings in VSCode. Search for jdk, it opens up a settings.json file. Now try this.

And sheck this : Changing the java.home path in VS code

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.