Hi all, i am writing a program which asks the user to select a a java file. I would then like to take this file and compile it File theFile = chooser.getSelectedFile(); How would i compile this file from within my java program thanks
Ciaran, I'm trying to do something similar - run a unix command from a java program. From what I understand, you can do this with java.lang.Runtime exec() method. Take a look at it. I'm trying to figure out how to return iformation from that command. I hope that helps.