javaw.eve and java.exe are located in the C:\Program Files\Java\j2re1.4.2_04\bin directory but every time I try to run it with the codeit gives me an error "Could no find main class. Program will exit."Code:public class vm { public static void main (String[] args) { System.out.println("Vending Machine"); //print System.out.println("Hello world"); }
The file is named vm.java how do I get this to work?