protected void launch ( String [ ] args , String mainClass , ClassLoader classLoader ) throws Exception { Runnable runner = createMainMethodRunner ( mainClass , args , classLoader ) ; Thread . currentThread ( ) . setContextClassLoader ( classLoader ) ; runner . run ( ) ; }
Launch the application given the archive file and a fully configured classloader .