modify script for remove java version check and mka command

Change-Id: Ia221a62f74f60a39ec14fe3b746e4aedf203798e