move java version to lib