fix wrapper runtime and support jar file names