<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">It does produce class files, it just stores them in a temp dir.<div><br></div><div>There is nothing currently to do what you want. This quickly becomes a slippery slope as you need more features and you are better off having a build that is not tied to a particular development environment.</div><div><br></div><div>I'd suggest looking at (in order of personal preference):</div><div><br></div><div>Gradle - <a href="http://www.gradle.org/">http://www.gradle.org/</a></div><div>Maven - <a href="http://maven.apache.org/">http://maven.apache.org/</a></div><div>Ant - <a href="http://ant.apache.org/">http://ant.apache.org/</a></div><div><br></div><div><br></div><div>The hang you are experiencing is because of tm_interactive_input.dylib… it currently has issues with any Java that uses Swing classes.</div><div><br></div><div>You can disable it by running (from within TextMate):</div><div><br></div><div>mv "$TM_SUPPORT_PATH/lib/tm_interactive_input.dylib" "$TM_SUPPORT_PATH/lib/tm_interactive_input.dylib.off"</div><div><div><br></div></div><div><div><div>On 26/08/2010, at 5:02 AM, plastichairdoo wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Thanks Dru, </div><div><br></div><div>yes, of course I've tried that - and it works well enough to build and <i>run</i> the app but it doesn't produce a java .<i>class</i> file like you get when you use 'javac' in UNIX.</div><div><br></div><div>and with Applets it won't work at all. </div><div>for example, I get the following error when trying to compile ("build"?) an Applet named "Einstein.java" into a java .class file:</div><div><br></div><div>CLASSPATH=/var/folders/lL/lLsF6qXPGzqqhhc4QsmSnk+++TI/-Tmp-//tm_javamate.22617: java -Dfile.encoding=utf-8 Einstein</div><div><br></div><div>then it hangs.</div><div><br></div><div>it seems to me like TM is looking for the Java SDK files on my machine so that it can run the compiler but it's not finding it in the CLASSPATH...</div><div><br></div><div>but I'm a total noob so I really don't know.</div><div><br></div><div>assistance?</div><div><br></div><div>bennett</div><div><br></div><br><div><div>On Aug 25, 2010, at 9:06 AM, Dru Kepple wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>On Aug 25, 2010, at 2:39 AM, plastichairdoo wrote:<br><br><blockquote type="cite">I'm wondering if I can use TM to compile my .java apps (and applets) into .class files...<br></blockquote><blockquote type="cite">at the moment I'm writing in TM and then compiling in Terminal using 'javac' - but it'd be much more convenient if I could do the whole thing in TM. <br></blockquote><blockquote type="cite"><br></blockquote><br>Well, I don't know from experience, but the Java bundle does have a "Compile and Run" command, bound to Command-R.<br><br>I can't for the life of me remember if I installed the Java bundle or if it comes with TextMate.  I suspect it comes with, as I don't see it in my App Support folder.<br><br>+dru<br><br><br><br>_______________________________________________<br>textmate mailing list<br><a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br><a href="http://lists.macromates.com/listinfo/textmate">http://lists.macromates.com/listinfo/textmate</a><br></div></blockquote></div><br></div><br>_______________________________________________<br>textmate mailing list<br><a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br>http://lists.macromates.com/listinfo/textmate<br></blockquote></div><br></div></body></html>