Oooh! Narsty!!!
You can certainly invoke the Java Compiler - just use the Shell function specifying javac and it's command line arguments...
As for getting the output from that, if this is a single user system, you might consider adding " > c:\results.txt" to the value you use in Shell. That should write the output to a results.txt file, which you could then open and read with VB. It's not all that elegant though, is it?
mmilan.
Ps. I'm beginning Java - reading the tutorials as we speak...