support java and go