[TxMt] Re: Java Compile and run
Allan Odgaard
mailinglist at textmate.org
Sun Sep 9 11:45:28 UTC 2012
On Sep 9, 2012, at 6:13 AM, Michael Sheaver <msheaver at 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).
More information about the textmate
mailing list