When i compile my java programs (.java) they all compile into .class file. when i try to run the class file with this command : " java C:\Users\User\Desktop\JavaProgram"
It gives the following error: "Error: could not find or load the main class"
how do fix this and how do i compile it then and run it then?