For future reference, please surround your code with the tags.

Please define "can't run the program". What errors are you receiving? Are the class files in the same directory?