Lessons for Java