add stun code of java
fix confilict