Visual Studio Code - Monkey C - How solve this problem? Unable to find java in the path monkey c
When I do verification I see that problem. I tried to solve this problem with other solutions, but I could not.
Who can help me?
I can pay for help.
Visual Studio Code - Monkey C - How solve this problem? Unable to find java in the path monkey c
When I do verification I see that problem. I tried to solve this problem with other solutions, but I could not.
Who can help me?
I can pay for help.
Ha ha, my English is really poor, so let's get back to solving the problem. This issue seems to occur when developing Garmin watch faces using Visual Studio Code on a Microsoft operating system. The main reason is that Java is not installed or properly configured on the system. The solution is as follows:
Download Java from the following link and install it with the default settings:
https://sdlc-esd.oracle.com/ESD6/JSCDL/jdk/8u441-b07/7ed26d28139143f38c58992680c214a5/jre-8u441-windows-x64.exe?GroupName=JSC&FilePath=/ESD6/JSCDL/jdk/8u441-b07/7ed26d28139143f38c58992680c214a5/jre-8u441-windows-x64.exe&BHost=javadl.sun.com&File=jre-8u441-windows-x64.exe&AuthParam=1741165752_4ae16248824c4d9f7be10ceea97343df&ext=.exe
Set the environment variables for the operating system:
(1) Right-click on the "This PC" icon, select "Properties," and then click on "Advanced system settings."
(2) In the pop-up window, click on "Environment Variables."
(3) Under System Variables, click "New."
(4) Enter the variable name (JAVA_HOME) and the variable value (the installation path of the JDK), then click "OK."
(5) In the System Variables section, find the "Path" variable and click "Edit."
(6) In the Edit Environment Variable window, perform the following steps:
- Click "New."
- Enter %JAVA_HOME%\bin
.
- Click "OK."
(7) Click "OK" and "OK" again to complete the configuration.
Test if the JDK is installed successfully:
Press Win + R, type cmd
, and enter the DOS command prompt.
Enter the command javac -version
.
Enter the command java -version
.
If you see different version numbers, it means the JDK has been installed successfully.