setup sdk for java
deprecation