Java notes