I just tried to run my HelloWorld prgroram from the command prompt but I got the below error
Try the new cross-platform PowerShell https://aka.ms/pscore6
PS C:\Users\mpmor\IdeaProjects\HelloWorld\src\com\mpmgemcompany> javac Main.java
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 included, verify that the path is correct and try again.
At line:1 char:1
- javac Main.java
-
+ CategoryInfo : ObjectNotFound: (javac:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\mpmor\IdeaProjects\HelloWorld\src\com\mpmgemcompany>