I started using Java in VS Code, so I just wanted to know the short form to run the Java program. For ex:
If you want to run a Python program in the terminal, we write py filename.py. So, in the same way, I wanted to know for Java if it is there
My code has already been compiled, but after I write :java filename
as many people told, I get this error:
:java : The term ':java' 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
+ :java lol
+ ~~~~~
+ CategoryInfo : ObjectNotFound: (:java:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
```