Added java and scala to index