Added some preliminary Java configuration