Added java support. Oh the humanity