Guest User

My Problem with VS Code

a guest
Jul 25th, 2022
457
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. I tried getting C#/C/Java to work on vs code but whenever I run a Hello World program i get an error message that usually says this:
  2.  
  3. For C#:
  4.  
  5. scriptcs : The term 'scriptcs' 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
  6. was included, verify that the path is correct and try again.
  7. At line:1 char:1
  8. + scriptcs "c:\Users\rverm\Desktop\C++Projects\test\test"
  9. + ~~~~~~~~
  10. + CategoryInfo : ObjectNotFound: (scriptcs:String) [], CommandNotFoundException
  11. + FullyQualifiedErrorId : CommandNotFoundException
  12.  
  13.  
  14. For Java:
  15.  
  16. javac : The term 'javac' 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
  17. included, verify that the path is correct and try again.
  18. At line:1 char:53
  19. + cd "c:\Users\rverm\Desktop\CSharpTest\" ; if ($?) { javac HelloWorld. ...
  20. + ~~~~~
  21. + CategoryInfo : ObjectNotFound: (javac:String) [], CommandNotFoundException
  22. + FullyQualifiedErrorId : CommandNotFoundException
Advertisement
Add Comment
Please, Sign In to add comment