Adding the code to execute the application from a jar file