Original Post
The title says it all. If possible, I would like to do something like the pseudocode below.
//Assume source is a class with one constructor that takes an array of strings
//as arguments. The array is preset in the calling program and passed to all
//compiled source files
//In this case, compile from source would truncate the extension and return
//the string name. After completing, the class name.class should exist and be
//be possible to invoke via reflection
String name = CompileFromSource( "name.java" );
Class.forName(name).getConstructors()[0].newInstance( (Object) args);