I am using atom and I installed the "script" package to run java directly, but every time I use Ctrl Shift B to run a java file it shows this error message:
'cmd' is not recognized as an internal or external command, operable program or batch file.
I did add the jdk to environment variable 'path'.
This is the code I am trying to run:
package script;
public class script {
public static void main (String []args)
{
System.out.println ("Hello world");
}
}
What could be missing here?