Type: Posts; User: Mr.777
You should save .txt as .java and then at command prompt javac filename.java java filename