codice:
 Runtime rt = Runtime.getRuntime();
 Process ps = rt.exec("java NOMECLASSE  args");
 OutputStream os = ps.getOutputStream();
 InputStream is = ps.getInputStream();