Home > OS >  "Java is not recognised as an internal or external command" in vs code even though I am tr
"Java is not recognised as an internal or external command" in vs code even though I am tr

Time:08-02

I am downloading vs code for the first time. enter image description here

After the installation is complete, you can run the java -version command in the cmd window to check whether the installation is successful

enter image description here

  • Download the kotlin compiler enter image description here

    After unzipping, add the bin folder path to the system environment variables

    enter image description here

    After the installation is complete, you can run the kotlinc -version command in the cmd window to check whether the installation is successful

    enter image description here

  • Install plugins in VS code: enter image description here

    If you want the result to be output in the TERMINAL panel, please add the following configuration in settings.json

        "code-runner.runInTerminal": true,
    

    enter image description here

    • Related