compiling a java program using System's JVM

Hi,

As my requirement demands I have to compile and execute a java program which is located outside webMethods, i mean my webmethods has to issue a command which will compile the java code that is located outside webMethods root directory. So my java program should not execute under webMethods JVM.

You can ask that why should i need to do like this when you have a provision to do the same in webMethods… and my answer is as i said my requirement demands in that way.

Is there any way to acheive this?