copy core.jar to lib automatically