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're probably going to want to use Runtime.exec() to call the respective compiler. Check out the JavaDoc for more information about how to deal with the output, etc.
Runtime.exec()