add java native class