I am taking a beginning java class and have been using a text editor like note pad but on a Mac OS. I then use a terminal to compile and run the programs.
This works fine but is a bit cumbersome. I do not want to learn something like Eclipse or Netbeans in parallel with learning Java so a more ful featured editor like Sublime seems like a good choice.I have also used VIM but it is a little too complex for me but a nice editor.
At present I am using Java SE 6 but will also need to do some simple exercises in Java SE 7 too.
My question is how do I set up a build file, or files since I will need Java 6 or Java 7, that will both compile and then run the Java program.
The standard setup that comes with Sublime does the compiling fine.