Adding Java stuff