I need to compile and run source code (single file), written in Python, Pascal or C, from my Java application.
I will need to know:
You could use java.lang.ProcessBuilder to execute commands and check the status. Here JAVADOC : http://download.oracle.com/javase/1.5.0/docs/api/java/lang/ProcessBuilder.html