Not having to worry about memory for 99% of the time.
Having to do research to optimize I/O is not just a java thing. As stated before in this thread, the C stdlib isn't historically great either, and a lot of languages piggyback on that.
Modern I/O is almost always a different library and you need to do reasearch.