Fix build java version
Fix image copy bug