Use the fully qualified name of the class AND include the libraries as well to avoid the runtime errors for the classes referenced
C:\src\>java -classpath .;E:\Lib\math.jar map.TestClasses.Test
Assuming that Test.java
has main method as you mentioned.