<html><head></head><body 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>http://lists.macromates.com/listinfo/textmate<br></div></blockquote></div><br></body></html>