'JAVA' error in VSCode
Quote from Daniel S on April 10, 2022, 09:16I have installed VisualStudio Code 1.66 and the STOS extension. Following the description from the website I created a first project, but when compiling to STOS (Ctrl+Shift+B) I get following in the console:
"> Executing task: .\stos2asc\stos2asc.bat <
'JAVA' is not recognized as an internal or external command,
operable program or batch file.
The terminal process "C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -Command .\stos2asc\stos2asc.bat" terminated with exit code: 1."Apparently I am missing something Java related. I am mostly certain I don't have Java installed on my system. But the website doesn't mention anything as prerequisite.
I have installed VisualStudio Code 1.66 and the STOS extension. Following the description from the website I created a first project, but when compiling to STOS (Ctrl+Shift+B) I get following in the console:
"> Executing task: .\stos2asc\stos2asc.bat <
'JAVA' is not recognized as an internal or external command,
operable program or batch file.
The terminal process "C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -Command .\stos2asc\stos2asc.bat" terminated with exit code: 1."
Apparently I am missing something Java related. I am mostly certain I don't have Java installed on my system. But the website doesn't mention anything as prerequisite.
Quote from Neil Halliday on April 10, 2022, 09:32Hiya Daniel,
Yes, you need to have Java installed for it to work correctly. You can install Java from here.
Hope that helps
Neil.
Hiya Daniel,
Yes, you need to have Java installed for it to work correctly. You can install Java from here.
Hope that helps
Neil.