Your program compiles and runs successfully on mymachine. There is no program error.<br><br>The problem isthat you are applying some logic that should not beapplied, in this case.<br><br>To compile java modules, youMUST supply the .java extension: javacApp.java<br><br>But, to execute, you must NOT supply the .classextension. Therefore:<br>java App // works<br>java App.class// throws the error<br><br>Consistency does not holdin this case.<br><br>Try again and see if that worksfor you (removing .class).