The following is the program I'm trying to run in terminal.
I am using TextWrangler editor and have saved the file. I have copied the path of the file into terminal and am pretty sure that is the directory I am in. It seems I can compile by running
but when I try executing it I get "Could not find or load main class. I have tried including the packageDOTclassName but continue getting that error. I suspect that when you create a program in an
IDE that other files are created automatically and that in terminal you have to do that manually.