private void addWlstArguments(JvmLauncher java){
  File serverDir=new File(getWeblogicHome(),"server");
  java.addClasspathEntries(new File(serverDir,"lib/weblogic.jar"));
  java.setMainClass("weblogic.WLST");
}

private void addWlstArguments ( JvmLauncher java ) { File serverDir = new File ( getWeblogicHome ( ) , "server" ) ; java . addClasspathEntries ( new File ( serverDir , "lib/weblogic.jar" ) ) ; java . setMainClass ( "weblogic.WLST" ) ; }
adding wlst dependencies and setting main class .
