The most-mentioned books on r/java.
Looking for more? Similar subreddits are algorithms, AskNetsec, dotnet, netsecstudents, and webdev.