public static void main(String... args){
  System.setErr(System.out);
  ProcessLogger.log("JavaProcess - Starting with args: " + Arrays.asList(args));
  try {
    JavaProcess jp=new JavaProcess(args);
    jp.run();
  }
 catch (  Throwable t) {
    ProcessLogger.log("JavaProcess - Termination was caused by: ",t);
    System.exit(1);
  }
}

public static void main ( String ... args ) { System . setErr ( System . out ) ; ProcessLogger . log ( "JavaProcess - Starting with args: " + Arrays . asList ( args ) ) ; try { JavaProcess jp = new JavaProcess ( args ) ; jp . run ( ) ; } catch ( Throwable t ) { ProcessLogger . log ( "JavaProcess - Termination was caused by: " , t ) ; System . exit ( 1 ) ; } }
the main method to initialize javaprocess
