View Single Post
Old 02-13-2007, 02:42 PM   #3 (permalink)
Vormund
 
Monster Techie

Join Date: May 2004

Location: Tucson, AZ, USA

Posts: 1,183

Vormund

Send a message via AIM to Vormund Send a message via MSN to Vormund Send a message via Yahoo to Vormund
Default

Quote:
Originally posted by jaeusm
You could take a slightly different approach. Instead of trying to redirect the compiler output to file, just check to see if a .class file exists. Of course, this method would require you to first check the directory for an existing .class file and delete it before calling javac.exe.
Hah, that's perfect...and solves both issues!

Thanks, jaeusm!
__________________
Vormund is offline