private void processJavaClass(List<String> args) throws MojoExecutionException {
if (!fork) {
try {
CommandInterfaceUtils.commandCommonMain();
JavaToWS j2w = new JavaToWS(args.toArray(new String[args.size()]));
j2w.run();
} catch (OutOfMemoryError e) {
getLog().debug(e);
StringBuffer msg = new StringBuffer();
msg.append(e.getMessage()).append('\n');