Move java binding out.