On Sep 9, 2012, at 6:13 AM, Michael Sheaver msheaver@earthlink.net wrote:
[…] compile and run java code […] cannot find the class file […]
Do you have multiple sources?
The Compile & Run was initially done for just running a single Java file.
That said, the command does have some poor man’s build system support by allowing you e.g. to set TM_JAVA_FILEGLOB (presumably to “*.java”) which would call the compiler with all the matches (rather than just the current one).
The alternative would be to set CLASSPATH if you have your class files somewhere. The proper solution though is to use a build system (when you’re doing more than just a quick test).