Can I update java to version 7?

If I instal java version 7, games for android will be packaged properly?

UE4 packaging for Android works just fine with Java 7 from what I have tested.