I’m currently using two different languages and having a similar issue on both. With Java the powershell within VS code isn’t allowing me to compile using Javac, and I can’t use GHCI for Haskell.
However, when i use the ‘normal’ powershell it is completely fine. Does anyone have any ideas why?
I get this error when i try to use these commands:
“ghci : The term ‘ghci’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
- ghci
-
+ CategoryInfo : ObjectNotFound: (ghci:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException"
I get an identical one for Javac (minus the GHCI bit)
Joe Corps is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
2