I have Max OS X 10.8.1 and am using TM 2.0 (9302), and am having trouble getting it to compile and run java code from within TM. It cannot find the class file, as shown here:
    Exception in thread "main" java.lang.NoClassDefFoundError: helloworld
    Caused by: java.lang.ClassNotFoundException: helloworld

My guess is that a needed environment variable is not set, but I cannot find any documentation on what to set. Any ideas?