add java interface for stun