protected static void setMainJavaClass ( ILaunchConfigurationWorkingCopy wc , String name ) { wc . setAttribute ( IJavaLaunchConfigurationConstants . ATTR_MAIN_TYPE_NAME , name ) ; }
Change the main java class within the given configuration .