Adding java profile