Java uni project