javac *.java in the Terminal usually does the trick for me.
In all seriousness, Eclipse is a good SDK (and I believe used by many professional programmers) and if you are looking to start then BlueJ is quite useful for creating objects directly from classes and calling methods directly on those objects.