hey gibson. Most programming languages allow operating with child processes(ie: program within a program). Look into the class Runtime, specifically the exec method. I'm not sure how to apply javac, but you might find Runtime easier. Maybe... Runtime.exec("javac foo.java");
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. to our beloved Java Forums! (closes on September 4, 2008)
Want to voice your opinion on your IDE/Editor of choice? To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. !
Got a little Capt'n in you? (drink responsibly)
|