I am writing a program, where i need to compile one java file from within another, on the fly.

the code is correct, and is working correctly under BlueJ. but when i export a jar file, or run it...