I personally quite liked Java: The Complete Reference by Herbert Schildt – as the name suggests, it covers most of the topics relevant to Java developers, including some outdated ones.
Head First Java by Kathy Sierra is also a decent introduction to the language, though much more limited and outdated.
Oracle also has on-line Java tutorial which I regularly visit during development. However the content is more scattered than in a book.