Home > other >  Problem in creating a project using java extension package in visual studio code
Problem in creating a project using java extension package in visual studio code

Time:03-29

When I try to create a project in visual studio code using the downloaded Java extension package it gives me the following error:

Error: JAVA_HOME not found in your environment. Please set the JAVA_HOME variable in your environment to match the location of your Java installation.

How can I fix it?

CodePudding user response:

Did you install Java Extension Pack in VS code and add the jdk path? Please check this question.

CodePudding user response:

You need to set the Java installed path to your machine's environmental variables.

Follow this tutorial - How to set JAVA_HOME on Windows 10?

  • Related